mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-10-15 19:42:06 +00:00
fix: interpolate env for step actions (#872)
Signed-off-by: hackercat <me@hackerc.at>
This commit is contained in:
parent
2e264d8df8
commit
f9acfb70a1
4 changed files with 10 additions and 0 deletions
|
@ -7,10 +7,12 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./actions/docker-local
|
||||
id: dockerlocal
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat'
|
||||
- run: '[[ "${{ env.SOMEVAR }}" == "Mona the Octocat" ]]'
|
||||
- run: '[ "${SOMEVAR}" = "Not Mona" ] || exit 1'
|
||||
env:
|
||||
SOMEVAR: 'Not Mona'
|
||||
- run: '[[ "${{ steps.dockerlocal.outputs.whoami }}" == "Mona the Octocat" ]]'
|
||||
- uses: ./localdockerimagetest_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue