diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 92507bd1..e7eab9de 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -461,21 +461,20 @@ jobs: shell: cmd # Publish the packages to GitHub packages - # This step is temporarily disabled due to a failure (see https://github.com/Sergio0694/ComputeSharp/issues/403) - # publish-nightlies-github: - # needs: [run-dx12-tests, run-dx12-device-lost-tests, run-d2d1-tests, run-dx12-samples, verify-packages, verify-packages-dynamic, verify-packages-pix, verify-package-native-libs] - # runs-on: windows-2022 - # if: ${{github.event_name == 'push'}} - # steps: - # - uses: actions/download-artifact@v3 - # with: - # name: nuget_preview - # path: artifacts - # - uses: actions/setup-dotnet@v3 - # with: - # dotnet-version: 6.0.x - # - run: dotnet nuget push "artifacts\*.nupkg" --source "https://nuget.pkg.github.com/ComputeSharp/index.json" --api-key ${{secrets.GITHUB_TOKEN}} --skip-duplicate - # shell: cmd + publish-nightlies-github: + needs: [run-dx12-tests, run-dx12-device-lost-tests, run-d2d1-tests, run-dx12-samples, verify-packages, verify-packages-dynamic, verify-packages-pix, verify-package-native-libs] + runs-on: windows-2022 + if: ${{github.event_name == 'push'}} + steps: + - uses: actions/download-artifact@v3 + with: + name: nuget_preview + path: artifacts + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - run: dotnet nuget push "artifacts\*.nupkg" --source "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" --api-key ${{secrets.GITHUB_TOKEN}} --skip-duplicate + shell: cmd # Publish the packages to Azure DevOps publish-nightlies-azure-devops: