Skip to content

Commit

Permalink
chore(ci): remove JS handling from workflow conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 29, 2025
1 parent 3790324 commit 0fd6fab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ jobs:
token: ${{ github.token }}

- name: Git Setup
if: ${{ steps.semver.outputs.next }}
if: steps.semver.outputs.next
run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"
git checkout -b ${{ env.branch }}
- name: Rebuild ./dist
if: ${{ steps.semver.outputs.next }}
if: steps.semver.outputs.next
run: |
npm run dist
git add ./dist --force
git commit -m "Rebuild dist/ directory"
git push -u origin HEAD:${{ env.branch }}
- name: Tag and Release (Major)
if: ${{ steps.semver.outputs.next }}
if: steps.semver.outputs.next
env:
GH_TOKEN: ${{ github.token }}
tag: ${{ steps.semver.outputs.nextMajor }}
Expand All @@ -65,7 +65,7 @@ jobs:
fi
- name: Tag and Release (Semver)
if: ${{ steps.semver.outputs.next }}
if: steps.semver.outputs.next
env:
GH_TOKEN: ${{ github.token }}
tag: ${{ steps.semver.outputs.next }}
Expand Down

0 comments on commit 0fd6fab

Please sign in to comment.