Skip to content

Commit 35f02d1

Browse files
committed
Update release action
1 parent 21b37ed commit 35f02d1

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Upload packages to feeds
22
on:
33
release:
4-
types: [created]
5-
workflow_dispatch:
4+
types: [published, edited]
65
jobs:
76
deploy:
87
runs-on: ubuntu-latest
98
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-dotnet@v1
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-dotnet@v3
1211
with:
13-
dotnet-version: '6.0.x' # SDK Version to use.
12+
dotnet-version: |
13+
6.0.x
14+
7.0.x
1415
- name: Pack
1516
run: dotnet pack -c Release -o pkg
1617
- name: Publish the package to GPR

0 commit comments

Comments
 (0)