From 3ba8f504dd23a9f64d778bd0a33aec7587448602 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 15 Oct 2022 12:59:38 +0200 Subject: [PATCH] Fix code owner for GitHub pPackages publishing --- .github/workflows/dotnet.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) 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: