Skip to content

Commit e8fb937

Browse files
committed
correct location
1 parent 40dcca9 commit e8fb937

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,21 @@ jobs:
8686
- run: |
8787
ls -R prebuilds/
8888
name: List prebuilds
89+
shell: bash
90+
91+
# untar each prebuild file named *<platform>-<arch>.tar.gz
92+
# and move its build/Release/ contents to a directory <platform>-<arch>/
93+
- run: |
94+
for f in *.tar.gz; do
95+
platform_arch="${f%.tar.gz}"
96+
platform_arch="${platform_arch##*-v3-}"
97+
mkdir -p "$platform_arch"
98+
tar -xzf "$f" -C "$platform_arch" --strip-components=2
99+
done
100+
rm *.tar.gz
101+
name: Extract prebuilds
89102
shell: bash
103+
working-directory: prebuilds
90104
91105
- uses: actions/upload-artifact@v4
92106
with:
@@ -119,20 +133,6 @@ jobs:
119133
ls prebuilds/
120134
name: List prebuilds
121135
122-
# untar each prebuild file named *<platform>-<arch>.tar.gz
123-
# and move its build/Release/ contents to a directory <platform>-<arch>/
124-
- run: |
125-
for f in *.tar.gz; do
126-
platform_arch="${f%.tar.gz}"
127-
platform_arch="${platform_arch##*-v3-}"
128-
mkdir -p "$platform_arch"
129-
tar -xzf "$f" -C "$platform_arch" --strip-components=2
130-
done
131-
rm *.tar.gz
132-
name: Extract prebuilds
133-
shell: bash
134-
working-directory: prebuilds
135-
136136
- name: Upload prebuilds to GitHub
137137
run: npx prebuild --verbose --upload-all ${{ secrets.GITHUB_TOKEN }}
138138
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)