From 35f02d1121edf6f81abb41e0fd1e3eb7c0dff9d0 Mon Sep 17 00:00:00 2001 From: "J. Zebedee" Date: Sat, 13 May 2023 22:17:38 -0500 Subject: [PATCH] Update release action --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b395c46..1be9010 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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