Skip to content

Commit 9e3c762

Browse files
committed
make cloudflare/pyodide tag configurable
1 parent 0b23b4a commit 9e3c762

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build-packages.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ on:
1010
description: Version of emsdk to use
1111
required: true
1212
default: "3.1.52"
13+
pyodide_tag:
14+
description: Branch or tag of cloudflare/pyodide to get recipes from
15+
required: true
16+
default: "main"
1317
pyodide_version:
14-
description: Version of pyodide to use
18+
description: Version of pyodide-build to use
1519
required: true
1620
default: "0.26.0a3"
1721

@@ -33,6 +37,7 @@ jobs:
3337
env:
3438
EMSDK_VERSION: ${{ inputs.emsdk_version }}
3539
PYODIDE_VERSION: ${{ inputs.pyodide_version }}
40+
PYODIDE_TAG: ${{ inputs.pyodide_tag }}
3641
run: |
3742
cd packages
3843
bash ./setup.sh

packages/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ source ./emsdk_env.sh
88
cd ..
99

1010
git clone https://github.com/cloudflare/pyodide.git
11+
(cd pyodide && git checkout $PYODIDE_TAG)
1112
ln -s pyodide/packages packages
1213

1314
# rust is required for building some wheels

0 commit comments

Comments
 (0)