Skip to content

Commit

Permalink
Merge pull request #1298 from pixiv/fix/publish-job
Browse files Browse the repository at this point in the history
fix: merge fetch and publish job
  • Loading branch information
yue4u committed Sep 27, 2023
2 parents b3d3a61 + 4a6c012 commit ca88fd2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ on:
type: string

jobs:
fetch:
publish:
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -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"
Expand Down

0 comments on commit ca88fd2

Please sign in to comment.