Skip to content

Commit

Permalink
Use branches from Pyodide repository
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Dec 19, 2024
1 parent e1799c6 commit 5a0e489
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
path: /tmp/ccache
key: ccache-${{ hashFiles('Makefile.envs') }}

- name: Check out @agriyakhetarpal's fork of Pyodide, and the NumPy v2 mirror branch
- name: Check out Pyodide, and the NumPy v2 mirror branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: agriyakhetarpal/pyodide
repository: pyodide/pyodide
ref: numpy-v2-update-mirror
path: pyodide_checkout
submodules: recursive
Expand Down Expand Up @@ -77,16 +77,16 @@ jobs:
with:
name: pyarrow-lightgbm-wheels
path: |
pyodide_checkout/dist/packages/pyarrow-*.whl
pyodide_checkout/dist/packages/lightgbm-*.whl
pyodide_checkout/dist/pyarrow-*.whl
pyodide_checkout/dist/lightgbm-*.whl
if-no-files-found: error
retention-days: 1

publish:
runs-on: ubuntu-latest
needs: [build]
if: >-
github.repository == 'agriyakhetarpal/pyodide-numpy-2.0-rebuilds' &&
github.repository == 'pyodide/pyodide-numpy-2.0-rebuilds' &&
github.event_name == 'release' &&
github.event.action == 'published'
permissions:
Expand All @@ -105,8 +105,8 @@ jobs:
- name: Copy PyArrow and LightGBM wheels from artifacts
run: |
mkdir -p packages
cp dist/packages/pyarrow-*.whl packages/
cp dist/packages/lightgbm-*.whl packages/
cp dist/pyarrow-*.whl packages/
cp dist/lightgbm-*.whl packages/
- name: Generate attestations for these wheels
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
Expand All @@ -127,7 +127,7 @@ jobs:
- name: Create GitHub release with these wheels
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
if: >-
github.repository == 'agriyakhetarpal/pyodide-numpy-2.0-rebuilds' &&
github.repository == 'pyodide/pyodide-numpy-2.0-rebuilds' &&
github.event_name == 'release' &&
github.event.action == 'published'
with:
Expand Down

0 comments on commit 5a0e489

Please sign in to comment.