From 4a6c0124ac44e87d1187cd62b23b490c58758d0b Mon Sep 17 00:00:00 2001 From: yue Date: Wed, 27 Sep 2023 16:09:37 +0900 Subject: [PATCH] fix: merge fetch and publish job --- .github/workflows/publish.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 93d72bb21..13dab2c4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,10 @@ on: type: string jobs: - fetch: + publish: + permissions: + contents: write + id-token: write runs-on: ubuntu-latest steps: - name: Checkout @@ -40,13 +43,6 @@ jobs: - name: Fetch Deps run: yarn install --frozen-lockfile - publish: - runs-on: ubuntu-latest - needs: fetch - permissions: - contents: write - id-token: write - steps: - name: Set git username and email run: | git config --local user.email "action@github.com"