From 7b298c679efe04bf635526563e72a602a1f94910 Mon Sep 17 00:00:00 2001 From: Soybean Date: Mon, 25 Mar 2024 10:37:38 +0800 Subject: [PATCH] ci(projects): update release.yml --- .github/workflows/release.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f335745..0bf7c92d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,8 @@ name: Release +permissions: + contents: write + on: push: tags: @@ -7,24 +10,15 @@ on: jobs: release: - permissions: - id-token: write - contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Install pnpm - uses: pnpm/action-setup@v2 - - - name: Set node - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: - node-version: lts/* - cache: pnpm - registry-url: "https://registry.npmjs.org" + node-version: 18.x - run: npx githublogen env: