Merge pull request #407 from Sergio0694/dev/fix-github-packages

Fix code GitHub Packages publishing
このコミットが含まれているのは:
Sergio Pedri authored and GitHub committed 2022-10-15 05:00:50 -07:00
コミット df21131f73
1ファイル変更
+14 -15
+14 -15
ファイルの表示
@@ -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: