Skip to content

Commit

Permalink
Update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jzebedee committed May 14, 2023
1 parent 21b37ed commit 35f02d1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Upload packages to feeds
on:
release:
types: [created]
workflow_dispatch:
types: [published, edited]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x' # SDK Version to use.
dotnet-version: |
6.0.x
7.0.x
- name: Pack
run: dotnet pack -c Release -o pkg
- name: Publish the package to GPR
Expand Down

0 comments on commit 35f02d1

Please sign in to comment.