Skip to content

Commit 3984a87

Browse files
authored
fix: github.action_path may not have trailing slash (#3547)
1 parent 9ceb00f commit 3984a87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
shell: bash
1919
run: |
2020
image_var=$(echo ${{ inputs.project_name }}_IMAGE | tr '[:lower:]' '[:upper:]')
21-
echo "${image_var}=${{ inputs.image_url }}" >> ${{ github.action_path }}.env
21+
echo "${image_var}=${{ inputs.image_url }}" >> ${{ github.action_path }}/.env
2222
2323
- name: Setup dev environment
2424
shell: bash
@@ -45,7 +45,7 @@ runs:
4545
id: cache_key
4646
shell: bash
4747
run: |
48-
source ${{ github.action_path }}.env
48+
source ${{ github.action_path }}/.env
4949
# See https://explainshell.com/explain?cmd=ls%20-Rv1rpq
5050
# for that long `ls` command
5151
SENTRY_MIGRATIONS_MD5=$(docker run --rm --entrypoint bash $SENTRY_IMAGE -c '{ ls -Rv1rpq src/sentry/**/migrations/*; sed -n "/KAFKA_TOPIC_TO_CLUSTER/,/}/p" src/sentry/conf/server.py; }' | md5sum | cut -d ' ' -f 1)

0 commit comments

Comments
 (0)