Add GitHub packages upload to CI script
このコミットが含まれているのは:
1 親
2959514e00
コミット
a7108986f0
1ファイル変更
+16
-1
@@ -274,4 +274,19 @@ jobs:
|
||||
dotnet-version: 6.0.x
|
||||
- name: Run ComputeSharp.Tests.NativeLibrariesResolver
|
||||
run: dotnet test tests\ComputeSharp.Tests.NativeLibrariesResolver\ComputeSharp.Tests.NativeLibrariesResolver.csproj -v n -l "console;verbosity=detailed"
|
||||
shell: cmd
|
||||
shell: cmd
|
||||
|
||||
publish-nightlies-github:
|
||||
needs: [ run-dx12-tests, run-d2d1-tests, run-dx12-samples, verify-packages, verify-package-native-libs ]
|
||||
runs-on: windows-2022
|
||||
if: ${{github.event_name == 'push'}}
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: nuget_preview
|
||||
path: artifacts
|
||||
- uses: actions/setup-dotnet@v1
|
||||
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
|
||||
新しいイシューから参照
ユーザーをブロックする