diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dc6b71..f46cb92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,19 +5,13 @@ jobs: # In order to run netframework test targets runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - name: Setup .NET SDK - 6.0.x - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-dotnet@v3 with: - dotnet-version: '6.0.x' - - name: Setup .NET SDK - 5.0.x - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '5.0.x' - - name: Setup .NET SDK - 3.1.x - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.x' + dotnet-version: | + 6.0.x + 7.0.x + 8.0.x - name: Install dependencies run: dotnet restore shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd82ed3..38ddb8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,16 +1,19 @@ name: Upload packages to feeds on: release: - types: [created] + types: [created, edited] workflow_dispatch: 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 + 8.0.x - name: Pack run: dotnet pack -c Release --output pkg - name: Publish the package to GPR