Skip to content

Commit d23cf93

Browse files
authored
chore(ci): remove JS handling from workflow conditionals (#309)
1 parent 3790324 commit d23cf93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/merge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ jobs:
3535
token: ${{ github.token }}
3636

3737
- name: Git Setup
38-
if: ${{ steps.semver.outputs.next }}
38+
if: steps.semver.outputs.next
3939
run: |
4040
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4141
git config --global user.name "${GITHUB_ACTOR}"
4242
git checkout -b ${{ env.branch }}
4343
4444
- name: Rebuild ./dist
45-
if: ${{ steps.semver.outputs.next }}
45+
if: steps.semver.outputs.next
4646
run: |
4747
npm run dist
4848
git add ./dist --force
4949
git commit -m "Rebuild dist/ directory"
5050
git push -u origin HEAD:${{ env.branch }}
5151
5252
- name: Tag and Release (Major)
53-
if: ${{ steps.semver.outputs.next }}
53+
if: steps.semver.outputs.next
5454
env:
5555
GH_TOKEN: ${{ github.token }}
5656
tag: ${{ steps.semver.outputs.nextMajor }}
@@ -65,7 +65,7 @@ jobs:
6565
fi
6666
6767
- name: Tag and Release (Semver)
68-
if: ${{ steps.semver.outputs.next }}
68+
if: steps.semver.outputs.next
6969
env:
7070
GH_TOKEN: ${{ github.token }}
7171
tag: ${{ steps.semver.outputs.next }}

0 commit comments

Comments
 (0)