diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61ca30f..3d23092 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | + 9.0.x 8.0.x - name: Restore dependencies run: dotnet restore @@ -31,6 +32,12 @@ jobs: run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}-prerelease.${{ github.event.inputs.increment }} - name: Test run: dotnet test --no-build --verbosity normal --configuration Release + - name: Upload a Build Artifact NET9 + uses: actions/upload-artifact@v4.3.1 + with: + name: RGB.NET-NET9 + path: bin/net9.0/RGB.NET.*.dll + if-no-files-found: error - name: Upload a Build Artifact NET8 uses: actions/upload-artifact@v4.3.1 with: diff --git a/.github/workflows/pr_verify.yml b/.github/workflows/pr_verify.yml index 59a1544..e4cc59e 100644 --- a/.github/workflows/pr_verify.yml +++ b/.github/workflows/pr_verify.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | + 9.0.x 8.0.x - name: Restore dependencies run: dotnet restore diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8bae37..943dea6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | + 9.0.x 8.0.x - name: Restore dependencies run: dotnet restore @@ -27,6 +28,12 @@ jobs: run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }} - name: Test run: dotnet test --no-build --verbosity normal --configuration Release + - name: Upload a Build Artifact NET9 + uses: actions/upload-artifact@v4.3.1 + with: + name: RGB.NET-NET9 + path: bin/net9.0/RGB.NET.*.dll + if-no-files-found: error - name: Upload a Build Artifact NET8 uses: actions/upload-artifact@v4.3.1 with: @@ -44,6 +51,6 @@ jobs: with: tag_name: v${{ github.event.inputs.version }} generate_release_notes: true - files: bin/net8.0/RGB.NET.*.dll + files: bin/net9.0/RGB.NET.*.dll - name: Nuget Push run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json