Skip to content

Commit

Permalink
generate github release
Browse files Browse the repository at this point in the history
  • Loading branch information
aloneguid committed Jul 26, 2022
1 parent 23f8590 commit d4591f7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release

env:
v: '5.0.2'
v: '5.0.3'
av: '5.0.0'
pv: '5.0.2'
pv: '5.0.3'

on:
push:
Expand Down Expand Up @@ -49,3 +49,10 @@ jobs:
name: packages
- name: Push to nuget.org
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/master'
with:
tag_name: ${{ env.v }}
name: ${{ env.v }}
files: "src/*.zip"

0 comments on commit d4591f7

Please sign in to comment.