Skip to content

Commit 885307d

Browse files
Update release.yml
1 parent 615d506 commit 885307d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ jobs:
5757
yarn install --immutable
5858
5959
- name: version - Release
60-
if: ${{ github.event.inputs.snapshot == false }}
60+
if: ${{ github.event.inputs.snapshot == 'false' }}
6161
run: |
6262
${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
6363
${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
6464
--no-push \
6565
--no-git-tag-version
6666
6767
- name: version - Snapshot
68-
if: ${{ github.event.inputs.snapshot == true }}
68+
if: ${{ github.event.inputs.snapshot == 'true' }}
6969
run: |
7070
git_hash=$(git rev-parse --short "${{ github.sha }}")
7171
@@ -105,7 +105,7 @@ jobs:
105105
yarn install --immutable
106106
107107
- name: version - Release
108-
if: ${{ github.event.inputs.snapshot == false }}
108+
if: ${{ github.event.inputs.snapshot == 'false' }}
109109
run: |
110110
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
111111
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
@@ -117,7 +117,7 @@ jobs:
117117
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
118118

119119
- name: version - Snapshot
120-
if: ${{ github.event.inputs.snapshot == true }}
120+
if: ${{ github.event.inputs.snapshot == 'true' }}
121121
run: |
122122
git_hash=$(git rev-parse --short "${{ github.sha }}")
123123
@@ -134,15 +134,15 @@ jobs:
134134
run: |
135135
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish \
136136
from-git \
137-
${{ github.event.inputs.snapshot == true && '--pre-dist-tag dev' }}
137+
${{ github.event.inputs.snapshot == 'true' && '--pre-dist-tag dev' }}
138138
env:
139139
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
140140
NPM_CONFIG_PROVENANCE: true
141141

142142
### Semantic Release Bot comments for issues and PRs ###
143143
- name: Add release comments to issues and PRs
144144
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
145-
if: ${{ github.event.inputs.snapshot == false }}
145+
if: ${{ github.event.inputs.snapshot == 'false' }}
146146
env:
147147
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
148148
with:

0 commit comments

Comments
 (0)