Skip to content

Commit

Permalink
fix: checkout after wait
Browse files Browse the repository at this point in the history
  • Loading branch information
renanrcp committed Mar 10, 2023
1 parent 9d6fe45 commit a8e5e30
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "master"

- name: Wait for package update
uses: fountainhead/[email protected]
id: wait-for-commit
Expand All @@ -21,6 +16,11 @@ jobs:
checkName: update
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "master"

- name: Make Release Changes
run: . .github/release-changes.sh "${{ github.event.release.tag_name }}"

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "master"

- name: Wait for package update
uses: fountainhead/[email protected]
id: wait-for-commit
Expand All @@ -21,6 +16,11 @@ jobs:
checkName: update
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "master"

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "master"

- name: Wait for package update
uses: fountainhead/[email protected]
id: wait-for-commit
Expand All @@ -21,6 +16,11 @@ jobs:
checkName: update
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "master"

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3

Expand Down

0 comments on commit a8e5e30

Please sign in to comment.