Skip to content

Commit

Permalink
Try yet another build caching strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Oct 4, 2024
1 parent bae4c03 commit ddd5f3f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
pyodide-${{ github.ref }}
pyodide-refs/heads/main
- name: Ensure Pyodide source files are fresh
run: cd pyodide && git diff --exit-code
run: |
cd pyodide
git status
git diff --name-only | xargs git checkout --
- name: Build Pyodide and all required packages
run: |
cd pyodide
Expand Down Expand Up @@ -70,7 +73,3 @@ jobs:
publish_branch: dist
publish_dir: ./dist
force_orphan: true
- name: Remove repository files from the cache
run: |
cd pyodide
git ls-files | xargs rm

0 comments on commit ddd5f3f

Please sign in to comment.