I set my GITHUB_ENV as uuid.
- name: Generate UUID
run: uuid=$(uuidgen)
- name: Set ENV
run: echo "UUID_stable=$uuid>> $GITHUB_ENV"
I want to upload a tar file by runner1, and name this file as GITHUB_ENV.
tar -zcvf {}.tar'.format(GITHUB_ENV)
The runner2 is used to download this file, I use the command
wget http://xxx.xx.xx.xxx:xxxx/{}.tar'.format(GITHUB_ENV)
However, the file I uploaded was named 4978d4.tar, and what I downloaded was f88d1c.tar
How can I fix it?
I want the file name which I DOWNLOAD is the same as which I UPLOAD. thank you!