Skip to content

Commit 0239ecd

Browse files
committed
use temp dir for tarball
1 parent f103132 commit 0239ecd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
- name: Upload sdk to Github artifacts
4747
uses: actions/upload-artifact@v2
4848
with:
49-
path: /opt/python-wasm-sdk/sdk
49+
path: /tmp/sdk
5050

5151
- name: Upload sdk to Github Releases
5252
if: github.event_name == 'release'
5353
uses: svenstaro/upload-release-action@2.2.1
5454
with:
5555
repo_token: ${{ secrets.GITHUB_TOKEN }}
56-
file: /opt/python-wasm-sdk/sdk/*
56+
file: /tmp/sdk/*
5757
file_glob: true
5858
tag: ${{ github.ref }}

python-wasm-sdk.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ then
3535
echo "making tarball"
3636
cd /
3737
rm -rf ${SDKDIR}/emsdk/upstream/emscripten/cache
38-
mkdir -p ${SDKDIR}/sdk
38+
mkdir -p /tmp/sdk
3939
tar -cpRj \
4040
.${SDKDIR}/config \
41-
.${SDKDIR}/${PYDK_PYTHON_HOST_PLATFORM}-shell.sh \
41+
.${SDKDIR}/python3-wasm \
42+
.${SDKDIR}/wasm32-*-shell.sh \
4243
.${SDKDIR}/emsdk \
4344
.${SDKDIR}/devices/* \
4445
.${SDKDIR}/prebuilt/* \
45-
> ${SDKDIR}/sdk/python-wasm-sdk-stable.tar.bz2
46+
> /tmp/sdk/python-wasm-sdk-stable.tar.bz2
4647
else
4748
echo " cpython-build-emsdk-deps failed"
4849
exit 2

0 commit comments

Comments
 (0)