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

Update actions versions to Node 20 #94

Merged
merged 2 commits into from
Jun 11, 2024
Merged
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
69 changes: 49 additions & 20 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4
- uses: psf/black@stable

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}

Expand Down Expand Up @@ -123,11 +123,40 @@ jobs:
RPYBUILD_STRIP_LIBPYTHON: "1"
RPYBUILD_CC_LAUNCHER: ccache

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "dist-${{ runner.os }}"
name: "dist-${{ runner.os }}-${{ matrix.python_version }}"
path: dist

merge:
runs-on: ubuntu-latest
needs: [cross-build, build]
steps:
- name: Merge Windows Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: dist-Windows
pattern: dist-Windows*
delete-merged: true
- name: Merge Linux Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: dist-Linux
pattern: dist-Linux*
delete-merged: true
- name: Merge macOS Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: dist-macOS
pattern: dist-macOS*
delete-merged: true
- name: Merge raspbian Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: dist-raspbian
pattern: dist-raspbian*
delete-merged: true

#
# Build roboRIO/raspbian wheels
#
Expand All @@ -143,26 +172,26 @@ jobs:
name: roborio

- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py38
name: raspbian
name: raspbian-py38
- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py39
name: raspbian
name: raspbian-py39
- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py310
name: raspbian
name: raspbian-py310
- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py311
name: raspbian
name: raspbian-py311
- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py312
name: raspbian
name: raspbian-py312

- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py38
name: raspbian
name: raspbian-aarch64-py38
- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py39
name: raspbian
name: raspbian-aarch64-py39
- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py310
name: raspbian
name: raspbian-aarch64-py310
- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py311
name: raspbian
name: raspbian-aarch64-py311
- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py312
name: raspbian
name: raspbian-aarch64-py312

container:
image: "${{ matrix.os.container }}"
Expand Down Expand Up @@ -206,7 +235,7 @@ jobs:
RPYBUILD_STRIP_LIBPYTHON: "1"
RPYBUILD_CC_LAUNCHER: ccache

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.os.name }}
path: dist
Expand All @@ -221,12 +250,12 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist-roborio
path: dist/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist-raspbian
path: dist/
Expand All @@ -251,17 +280,17 @@ jobs:
with:
fetch-depth: 0

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist-Windows
path: dist/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist-macOS
path: dist/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist-Linux
path: dist/
Expand Down
Loading