Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
szabolcsdombi committed Feb 3, 2024
1 parent acfad5c commit b63f725
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: build
run: docker build . -f tests/docs/Containerfile -t docs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: docker build . -f examples/pyodide/Containerfile -t build && docker run --rm -v `pwd`/pages:/pages build cp -r /web /pages/
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: 'pages/web'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64
Expand All @@ -25,7 +25,7 @@ jobs:
run: python setup.py sdist -d package

- name: upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: package
path: package/*.tar.gz
Expand All @@ -39,24 +39,25 @@ jobs:

env:
CIBW_BUILD: cp38-* cp39-* cp310-* cp312-*
CIBW_ARCHS_MACOS: x86_64 arm64

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64

- name: deps
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.16.5

- name: wheels
run: python -m cibuildwheel --output-dir package

- name: upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: package
path: package/*.whl
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: build
run: docker build . -f tests/Containerfile -t tests
Expand Down

0 comments on commit b63f725

Please sign in to comment.