Skip to content

Commit b30d176

Browse files
authored
Push to GitHub Packages (#461)
1 parent d5d152a commit b30d176

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
name: CI Build
2-
32
on:
43
push:
5-
paths:
6-
- 'src/**/*'
7-
- 'build/nuke/*'
8-
- 'examples/**/*'
94
branches:
105
- 'main'
116
- 'release/*'
127
pull_request:
13-
paths:
14-
- 'src/**/*'
15-
- 'build/nuke/*'
16-
- 'examples/**/*'
17-
8+
# none
189
jobs:
1910
Build:
2011
runs-on: windows-latest
@@ -42,3 +33,6 @@ jobs:
4233
- name: Push to NuGet
4334
if: ${{ github.repository == 'dotnet/Silk.NET' && github.event_name != 'pull_request' }}
4435
run: nuke PushToNuGet --skip Clean Restore Compile Pack --nuget-feed https://pkgs.dev.azure.com/UltzOS/Silk.NET/_packaging/Experimental/nuget/v3/index.json --nuget-username ${{ secrets.AZDO_ARTIFACTS_USERNAME }} --nuget-password ${{ secrets.AZDO_ARTIFACTS_TOKEN }} --nuget-api-key az
36+
- name: Push to GitHub Packages
37+
if: ${{ github.repository == 'dotnet/Silk.NET' && github.event_name != 'pull_request' }}
38+
run: nuke PushToNuGet --skip Clean Restore Compile Pack --nuget-feed https://nuget.pkg.github.com/dotnet/index.json --nuget-api-key ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)