Skip to content

Merge pull request #580 from akunzai/owin-logout #1

Merge pull request #580 from akunzai/owin-logout

Merge pull request #580 from akunzai/owin-logout #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build packages
run: |
dotnet --info
dotnet pack -o packages
- name: Publish to NuGet.org
run: dotnet nuget push "packages/*.nupkg" -k ${{ secrets.NUGET_AUTH_TOKEN }} -s https://api.nuget.org/v3/index.json --skip-duplicate
release:
needs: publish
runs-on: ubuntu-latest
steps:
- name: Pre-release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') && (contains(github.ref,'preview') || contains(github.ref,'beta') || contains(github.ref,'alpha') || contains(github.ref,'rc'))
with:
prerelease: true
generate_release_notes: true
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') && !(contains(github.ref,'preview') || contains(github.ref,'beta') || contains(github.ref,'alpha') || contains(github.ref,'rc'))
with:
generate_release_notes: true