Skip to content

Commit 636e424

Browse files
committed
fix 1
1 parent 560b4b8 commit 636e424

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build-manual.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,18 @@ jobs:
187187

188188
- name: Download and setup go-legacy-win7
189189
run: |
190-
wget -P /tmp https://github.com/thongtech/go-legacy-win7/releases/download/v1.25.5-1/go-legacy-win7-1.25.5-1.linux_amd64.tar.gz
191-
tar -xzf /tmp/go-legacy-win7-1.25.5-1.linux_amd64.tar.gz -C /tmp
192-
export GOROOT=/tmp/go-legacy-win7
190+
mkdir -p /tmp/go-legacy-setup
191+
wget -P /tmp/go-legacy-setup https://github.com/thongtech/go-legacy-win7/releases/download/v1.25.5-1/go-legacy-win7-1.25.5-1.linux_amd64.tar.gz
192+
tar -xzf /tmp/go-legacy-setup/go-legacy-win7-1.25.5-1.linux_amd64.tar.gz -C /tmp/go-legacy-setup
193+
export GOROOT=/tmp/go-legacy-setup/go-legacy-win7
193194
export PATH=$GOROOT/bin:$PATH
194195
go version
195196
196197
- name: Build
197198
run: |
198199
cd awl
199200
mkdir build
200-
export GOROOT=/tmp/go-legacy-win7
201+
export GOROOT=/tmp/go-legacy-setup/go-legacy-win7
201202
export PATH=$GOROOT/bin:$PATH
202203
./build.sh release-windows7
203204
echo "ls build"

0 commit comments

Comments
 (0)