Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jetexe committed Jul 17, 2024
1 parent c8c22de commit 040686e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,16 @@ jobs:
run: echo "$ENV_VAR" > ./test_env_var.txt
post: if grep -q value123 ./test_env_var.txt; then echo "Test passed"; else exit 1; fi

- name: inline variables
- name: Inline variables
uses: ./
with:
shell: bash
run: |
SOME_VAR="value123" ; \
echo $SOME_VAR
echo $ANOTHER_VAR;
export TMPDIR="$(mktemp -d)"
echo $TMPDIR;
post: |
echo \$TMPDIR ;
echo "ANOTHER_VAR=value" >> $GITHUB_ENV
echo "${{ env.ANOTHER_VAR }}"
post: echo "${{ env.ANOTHER_VAR }}"

- name: Multiline with line breaks
uses: ./
with:
Expand Down

0 comments on commit 040686e

Please sign in to comment.