ci(release.yml): Remove deprecated token assignment

This commit is contained in:
Eric Fennis
2025-12-10 13:12:55 +01:00
parent 20f30bb5ea
commit c2b059fb60
2 changed files with 4 additions and 12 deletions

View File

@@ -20,9 +20,6 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
fetch-tags: true
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
@@ -47,7 +44,6 @@ jobs:
env:
LATEST_TAG: ${{ steps.latest-tag.outputs.LATEST_TAG }}
- name: Create new version
id: new-version
run: echo "NEW_VERSION=$(pnpm semver $LATEST_TAG -i minor)" >> $GITHUB_OUTPUT

View File

@@ -20,7 +20,7 @@ on:
permissions:
id-token: write # Required for OIDC
contents: read
contents: write
jobs:
pre-release:
@@ -72,9 +72,6 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Set Auth Token
run: npm config set //registry.npmjs.org/:_authToken ${{ inputs.NPM_TOKEN || secrets.NPM_TOKEN }}
- name: Set new version
run: pnpm --filter ${{ matrix.package }} version --new-version ${{ needs.pre-release.outputs.VERSION }} --no-git-tag-version
@@ -109,9 +106,6 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Set Auth Token
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- name: Set new version
run: pnpm --filter lucide-static version --new-version ${{ needs.pre-release.outputs.VERSION }} --no-git-tag-version
@@ -157,7 +151,9 @@ jobs:
if: github.repository == 'lucide-icons/lucide'
runs-on: ubuntu-latest
needs: [pre-release, lucide-font]
permissions:
id-token: write # Required for OIDC
contents: write
steps:
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4