Skip to content

Commit

Permalink
Upgrades versions for GitHub Actions (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumsden authored Jun 5, 2024
1 parent fc47f96 commit ddd487c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_and_upload_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
name: Build wheels for Linux
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up QEMU to support non-x86 architectures
uses: docker/setup-qemu-action@v2
with:
platforms: all

- uses: pypa/cibuildwheel@v2.12.1
- uses: pypa/cibuildwheel@v2
env:
CIBW_SKIP: pp* *musllinux*
CIBW_ARCHS_LINUX: auto aarch64 ppc64le

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
name: Build sdist
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get PyPA build
run: python -m pip install build
Expand All @@ -92,12 +92,12 @@ jobs:
runs-on: ubuntu-20.04
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.5.0
- uses: pypa/gh-action-pypi-publish@v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand All @@ -112,12 +112,12 @@ jobs:
runs-on: ubuntu-20.04
if: (github.event_name == 'release' && github.event.action == 'published') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.5.0
- uses: pypa/gh-action-pypi-publish@v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pip-install-tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
hatchet-version: ["2022.2.0"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ format('v{0}', matrix.hatchet-version) }}

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]

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

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
pip install pytest-cov
- name: Clone Caliper
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: LLNL/Caliper
path: Caliper
Expand Down

0 comments on commit ddd487c

Please sign in to comment.