Skip to content

Commit 4c762cb

Browse files
authored
Fix CI workflow (#37)
1 parent b91626b commit 4c762cb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,27 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 1
2424
- run: |
2525
git fetch --prune --unshallow --tags
2626
echo exit code $?
2727
git tag --list
28-
- uses: actions/setup-dotnet@v1
28+
- uses: actions/setup-dotnet@v4
2929
with:
30-
dotnet-version: |
31-
9.0.x
30+
dotnet-version: 9.0.x
31+
source-url: https://nuget.pkg.github.com/nullean/index.json
32+
env:
33+
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3234

3335
- run: ./build.sh build -s true
3436
name: Build
3537
- run: ./build.sh generatepackages -s true
3638
name: Generate local nuget packages
37-
- run: ./build.sh validatepackages -s true
39+
# - run: ./build.sh validatepackages -s true
3840
# name: "validate *.npkg files that were created"
39-
# - run: ./build.sh generateapichanges -s true
41+
- run: ./build.sh generateapichanges -s true
4042
name: "Inspect public API changes"
4143

4244
- name: publish to github package repository

0 commit comments

Comments
 (0)