ci(release): wait to checkout until previous release done
Wait to run checkout until previous releases finish in order to have the latest tags in the checked out repo. This is important because semantic release determines the next version based on the tags in the current repo.
This commit is contained in:
parent
7ec6cb9000
commit
cda906aeea
|
@ -50,14 +50,19 @@ jobs:
|
|||
release-version-minor: ${{ steps.release.outputs.release-version-minor }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2.1.2
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
- name: Turnstyle
|
||||
uses: softprops/turnstyle@v0.1.3
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.3
|
||||
|
||||
- name: Cache Node.js modules
|
||||
id: cache
|
||||
uses: actions/cache@v2.1.2
|
||||
|
@ -75,11 +80,6 @@ jobs:
|
|||
env:
|
||||
SKIP_BUILD: true
|
||||
|
||||
- name: Turnstyle
|
||||
uses: softprops/turnstyle@v0.1.3
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Semantic release
|
||||
id: release
|
||||
uses: ahmadnassri/action-semantic-release@v1.2.6
|
||||
|
|
Loading…
Reference in New Issue