Skip to content

Commit 6fb7e32

Browse files
Remove temp artifact upload, unnecessary attestation permissions and re-enable push to nuget.org
Removed artifact upload step and adjusted permissions.
1 parent b106a03 commit 6fb7e32

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
permissions:
1616
id-token: write # enable GitHub OIDC token issuance for this job
1717
contents: read
18-
attestations: write
19-
2018

2119
steps:
2220
- uses: actions/checkout@v4
@@ -91,14 +89,7 @@ jobs:
9189
9290
- name: Validate NuGet package signature
9391
run: dotnet nuget verify "${{ github.workspace }}/artifacts/IgniteUI.Blazor.GridLite.${{ env.VERSION }}.nupkg"
94-
95-
- name: Upload artifact
96-
uses: actions/upload-artifact@v7.0.1
97-
with:
98-
name: Generated NuGet Package
99-
path: ${{ github.workspace }}/artifacts
100-
retention-days: 1
101-
92+
10293
# Get a short-lived NuGet API key
10394
- name: NuGet login (OIDC → temp API key)
10495
uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 # v1
@@ -108,5 +99,4 @@ jobs:
10899

109100
# Push the package
110101
- name: NuGet push
111-
if: false # temp disable while working in the branch
112102
run: dotnet nuget push artifacts/IgniteUI.Blazor.GridLite.${{ env.VERSION }}.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source "https://api.nuget.org/v3/index.json"

0 commit comments

Comments
 (0)