Skip to content

Commit

Permalink
Try new env file method
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 committed Aug 17, 2024
1 parent 6ae60c0 commit 792f731
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,8 @@ runs:
- name: Run tests
shell: bash
# Remember to change the image tag in all places!
run: "docker run --env-file <(env | grep INPUT) -i -v /github/workspace/skript:/skript ghcr.io/skriptlang/skript-test-action:3dc25d3"
run: |
env_var_file=$(mktemp)
env | grep INPUT > "$env_var_file"
cat "$env_var_file"
"docker run --env-file "$env_var_file" -i -v /github/workspace/skript:/skript ghcr.io/skriptlang/skript-test-action:3dc25d3"

0 comments on commit 792f731

Please sign in to comment.