From abdd8087b4c7580bc0134011d24c2f467134f686 Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Wed, 26 Feb 2025 13:08:12 +0000 Subject: [PATCH] Fix CI workflow --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0356c74..6c02434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,25 +18,27 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 1 - run: | git fetch --prune --unshallow --tags echo exit code $? git tag --list - - uses: actions/setup-dotnet@v1 + - uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 9.0.x + dotnet-version: 9.0.x + source-url: https://nuget.pkg.github.com/nullean/index.json + env: + NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: ./build.sh build -s true name: Build - run: ./build.sh generatepackages -s true name: Generate local nuget packages - - run: ./build.sh validatepackages -s true + # - run: ./build.sh validatepackages -s true # name: "validate *.npkg files that were created" - # - run: ./build.sh generateapichanges -s true + - run: ./build.sh generateapichanges -s true name: "Inspect public API changes" - name: publish to github package repository