Unable to reference exported variables
Closed this issue · 3 comments
Chocobo1 commented
Here is a minimal workflow to demonstrate the problem:
name: test
on: [pull_request, push]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: Wandalen/wretry.action@v1
with:
command: |
export ONE=1
echo "ONE is $ONE"
And here is run result:
https://github.com/Chocobo1/test/actions/runs/5524697491/jobs/10077346008#step:3:244
Clearly the expected answer would be ONE is 1
instead of ONE is
.
dmvict commented
Hello @Chocobo1
Now I have no time to solve the issue. I will attend to it when I am free.
Please, use environments context to setup variables:
- uses: Wandalen/wretry.action@v1
env:
ONE: 1
with:
Chocobo1 commented
Thanks!
Also another minor thing. It seems Wandalen/wretry.action@v1
still refers to Wandalen/wretry.action@v1.2.0_js_action
, isn't the latest release v1.3.0
?
dmvict commented
There is no difference between version v1.3.0
and v1.2.0
.
The updating of major tag is a known issue and I'm going to fix it in the next iteration.