diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c540e17..3cb7d07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: dotnet paket pack ./build --version "$(dotnet nbgv get-version -v SemVer2)" --minimum-from-lock-file - name: Upload nupkg - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4.4.0 with: name: nuget path: build @@ -52,12 +52,12 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} steps: - name: Download nupkg - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4.1.7 with: name: nuget - name: Push to GitHub feed - run: dotnet nuget push nuget/*.nupkg + run: dotnet nuget push *.nupkg --api-key "${{secrets.GITHUB_TOKEN}}" --source "https://nuget.pkg.github.com/${{github.repository_owner}}/" --skip-duplicate