Release workflow: wsl --exec, so WSL's shell leaves the script's variables alone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d16ba7f9c3
commit
d84e8265b0
1 file changed
+1
-1
@@ -47,7 +47,7 @@ jobs:
|
|||||||
ELY_RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
ELY_RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
WSLENV: ELY_RELEASE_TOKEN
|
WSLENV: ELY_RELEASE_TOKEN
|
||||||
run: |
|
run: |
|
||||||
wsl -d Ubuntu -- bash -lc '
|
wsl -d Ubuntu --exec bash -lc '
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
dir=$HOME/ely-ci/ElyOffice
|
dir=$HOME/ely-ci/ElyOffice
|
||||||
[ -d "$dir/.git" ] || git clone https://git.zacharyzhang.com/ZacharyZhang-NY/ElyOffice.git "$dir"
|
[ -d "$dir/.git" ] || git clone https://git.zacharyzhang.com/ZacharyZhang-NY/ElyOffice.git "$dir"
|
||||||
|
|||||||
Reference in new issue
Block a user