Skip to content

Commit

Permalink
Add shell: bash attr to save/restore dbt cache actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeancochrane committed Aug 24, 2023
1 parent addcb58 commit c047d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/restore_dbt_cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ runs:
} >> $GITHUB_OUTPUT
fi
fi
shell: bash
env:
KEY: ${{ inputs.key }}
RESTORE_KEY: ${{ inputs.restore-key }}
Expand All @@ -68,6 +69,7 @@ runs:
- if: steps.query-cache-keys.outputs.cache-hit == 'true'
name: Copy cache to path
run: aws s3 cp "s3://$BUCKET/$KEY/manifest.json" "$PATH/manifest.json"
shell: bash
env:
KEY: ${{ steps.query-cache-keys.outputs.cache-matched-key }}
PATH: ${{ inputs.path }}
Expand Down
1 change: 1 addition & 0 deletions .github/actions/save_dbt_cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ runs:
steps:
- name: Save dbt cache
run: aws s3 cp "$PATH/manifest.json" "s3://$BUCKET/$KEY/manifest.json"
shell: bash
env:
KEY: ${{ inputs.key }}
PATH: ${{ inputs.path }}
Expand Down

0 comments on commit c047d95

Please sign in to comment.