Skip to content

Commit

Permalink
Adapt release workflow to create automated releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
saschadoemer committed Jul 19, 2023
1 parent d7c09a8 commit 63baac6
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: Release
on:
push:
tags:
- 'v1.*'
- 'v2.*'
- 'v3.*'

- 'v*'

jobs:
deploy_nuget_packages:
runs-on: windows-latest
Expand All @@ -27,3 +25,17 @@ jobs:

- name: Push generated package to GitHub registry
run: nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate

create-github-release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: create-docker-image
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
run: gh release create ${{ github.ref }} --generate-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 63baac6

Please sign in to comment.