Skip to content

Commit

Permalink
fix(workflows): force bash shell for release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
neilime committed Mar 13, 2023
1 parent 7d29995 commit 2dd0dbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
dir_names_exclude_root: true

- id: changed-variables
shell: bash
run: |
IS_TAG_PUSH="${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}"
echo "is-tag-push=$IS_TAG_PUSH" >> "$GITHUB_OUTPUT"
Expand All @@ -51,6 +52,7 @@ jobs:
echo "workflow-has-changed=$CURRENT_WORKFLOW_HAS_CHANGED" >> "$GITHUB_OUTPUT"
- id: get-changed-actions
shell: bash
run: |
CHANGED_FILES="${{ steps.changed-variables.outputs.changed-files }}"
CURRENT_WORKFLOW_HAS_CHANGED="${{ steps.changed-variables.outputs.workflow-has-changed }}"
Expand All @@ -72,6 +74,7 @@ jobs:
echo "result<<EOF" >> "$GITHUB_OUTPUT" && echo "$JSON_CHANGED_ACTIONS" >> "$GITHUB_OUTPUT" && echo "EOF" >> "$GITHUB_OUTPUT"
- id: get-changed-workflows
shell: bash
run: |
CHANGED_FILES="${{ steps.changed-variables.outputs.changed-files }}"
CURRENT_WORKFLOW_HAS_CHANGED="${{ steps.changed-variables.outputs.workflow-has-changed }}"
Expand Down

0 comments on commit 2dd0dbd

Please sign in to comment.