Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated GitHub actions versions #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions .github/workflows/accelerate-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Build source tarballs and root wheels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install build
Expand All @@ -38,13 +38,13 @@ jobs:
accelerate

- name: Save Core Distributions
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: core
path: dist/*

- name: Save Accelerate Distributions
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: accel
path: accelerate/dist/*
Expand All @@ -60,19 +60,19 @@ jobs:
- macOS-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheels (develop)
uses: pypa/cibuildwheel@v2.12.3
uses: pypa/cibuildwheel@v2.22.0
if: ${{ github.ref == 'refs/heads/develop' }}
with:
package-dir: "./accelerate"
Expand All @@ -82,7 +82,7 @@ jobs:
CIBW_SKIP: "pp*"

- name: Build wheels (master)
uses: pypa/cibuildwheel@v2.12.3
uses: pypa/cibuildwheel@v2.22.0
if: ${{ github.ref == 'refs/heads/master' }}
with:
package-dir: "./accelerate"
Expand All @@ -92,9 +92,9 @@ jobs:
CIBW_SKIP: "pp*"

- name: Save wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: accel-binary
name: accel-binary-${{ matrix.os }}
path: accelerate/dist/*.whl

pypi-publish-accel:
Expand All @@ -109,16 +109,17 @@ jobs:
id-token: write
steps:
- name: Download Accelerate
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: download-accelerate
with:
name: accel
path: dist
- name: Download Accelerate Binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: download-accelerate-bin
with:
name: accel-binary
pattern: accel-binary-*
merge-multiple: true
path: dist

# retrieve your distributions here
Expand All @@ -142,7 +143,7 @@ jobs:
id-token: write
steps:
- name: Download Core
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: download
with:
name: core
Expand Down