mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-31 17:06:29 +00:00
wasm wheel fixes
This commit is contained in:
@@ -27,6 +27,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
VERSION=`cat IfcOpenShell/VERSION`
|
VERSION=`cat IfcOpenShell/VERSION`
|
||||||
sed -i s/0.8.0/$VERSION/g IfcOpenShell/pyodide/meta.yaml
|
sed -i s/0.8.0/$VERSION/g IfcOpenShell/pyodide/meta.yaml
|
||||||
|
sed -i s/0.8.0/$VERSION/g IfcOpenShell/pyodide/setup.py
|
||||||
echo '#!/usr/bin/bash' > script.sh
|
echo '#!/usr/bin/bash' > script.sh
|
||||||
echo 'cd pyodide' > script.sh
|
echo 'cd pyodide' > script.sh
|
||||||
echo 'make && pip install ./pyodide-build' >> script.sh
|
echo 'make && pip install ./pyodide-build' >> script.sh
|
||||||
@@ -39,7 +40,7 @@ jobs:
|
|||||||
chmod +x script.sh
|
chmod +x script.sh
|
||||||
sed -i s/--tty// pyodide/run_docker
|
sed -i s/--tty// pyodide/run_docker
|
||||||
pyodide/run_docker ./script.sh
|
pyodide/run_docker ./script.sh
|
||||||
mv dist/ifcopenshell-$VERSION-py3-none-any.whl dist/ifcopenshell-v$VERSION+${GITHUB_SHA:0:7}-cp312-cp312-emscripten_3_1_58_wasm32.whl
|
mv dist/ifcopenshell-$VERSION-py3-none-any.whl dist/ifcopenshell-$VERSION+${GITHUB_SHA:0:7}-cp312-cp312-emscripten_3_1_58_wasm32.whl
|
||||||
|
|
||||||
- name: Configure AWS credentials
|
- name: Configure AWS credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v4
|
uses: aws-actions/configure-aws-credentials@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user