diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index c710c9006e6..36ad3c736b7 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -10,6 +10,9 @@ on: jobs: pack: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v4 @@ -19,9 +22,15 @@ jobs: with: dotnet-version: 9.0.x + - name: NuGet login + uses: NuGet/login@v1 + id: login + with: + user: ${{ secrets.NUGET_USER }} + - name: Publish to Nuget env: - NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} + NUGET_API_KEY: ${{steps.login.outputs.NUGET_API_KEY}} Bundle: True run: | diff --git a/BootstrapBlazor.slnx b/BootstrapBlazor.slnx index 6b648496050..f48dc907300 100644 --- a/BootstrapBlazor.slnx +++ b/BootstrapBlazor.slnx @@ -1,4 +1,11 @@ + + + + + + +