Skip to content

Commit

Permalink
ci: upgrade upload-artifact action to v4
Browse files Browse the repository at this point in the history
v3 uses an older nodejs version which is now deprecated
  • Loading branch information
midwan committed Jan 26, 2024
1 parent 9326fcf commit 3520bb6
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-macOS-64bit-intel
path: |
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-macOS-64bit-intel
path: amiberry-${{ github.ref_name }}-macOS-x86_64.zip
Expand All @@ -71,7 +71,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-x86_64
path: |
Expand All @@ -94,7 +94,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-x86_64
path: amiberry-${{ github.ref_name }}-debian-buster-x86_64.zip
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-x86_64
path: |
Expand All @@ -140,7 +140,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-x86_64
path: amiberry-${{ github.ref_name }}-debian-bullseye-x86_64.zip
Expand All @@ -163,7 +163,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-x86_64
path: |
Expand All @@ -186,7 +186,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-x86_64
path: amiberry-${{ github.ref_name }}-debian-bookworm-x86_64.zip
Expand All @@ -207,7 +207,7 @@ jobs:

- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-manjaro-aarch64-rpi4
path: |
Expand All @@ -230,7 +230,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-manjaro-aarch64-rpi4
path: amiberry-${{ github.ref_name }}-manjaro-aarch64-rpi4.zip
Expand All @@ -250,7 +250,7 @@ jobs:

- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-manjaro-aarch64-rk3399
path: |
Expand All @@ -273,7 +273,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-manjaro-aarch64-rk3399
path: amiberry-${{ github.ref_name }}-manjaro-aarch64-rk3399.zip
Expand All @@ -296,7 +296,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-aarch64-rpi5
path: |
Expand All @@ -319,7 +319,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-aarch64-rpi5
path: amiberry-${{ github.ref_name }}-debian-bookworm-aarch64-rpi5.zip
Expand All @@ -343,7 +343,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-armhf-rpi5
path: |
Expand All @@ -366,7 +366,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-armhf-rpi5
path: amiberry-${{ github.ref_name }}-debian-bookworm-armhf-rpi5.zip
Expand All @@ -389,7 +389,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-aarch64-rpi4
path: |
Expand All @@ -412,7 +412,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-aarch64-rpi4
path: amiberry-${{ github.ref_name }}-debian-buster-aarch64-rpi4.zip
Expand All @@ -436,7 +436,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-armhf-rpi4
path: |
Expand All @@ -459,7 +459,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-armhf-rpi4
path: amiberry-${{ github.ref_name }}-debian-buster-armhf-rpi4.zip
Expand All @@ -482,7 +482,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-aarch64-rpi4
path: |
Expand All @@ -505,7 +505,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-aarch64-rpi4
path: amiberry-${{ github.ref_name }}-debian-bullseye-aarch64-rpi4.zip
Expand All @@ -529,7 +529,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-armhf-rpi4
path: |
Expand All @@ -552,7 +552,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-armhf-rpi4
path: amiberry-${{ github.ref_name }}-debian-bullseye-armhf-rpi4.zip
Expand All @@ -575,7 +575,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-aarch64-rpi4
path: |
Expand All @@ -598,7 +598,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-aarch64-rpi4
path: amiberry-${{ github.ref_name }}-debian-bookworm-aarch64-rpi4.zip
Expand All @@ -622,7 +622,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-armhf-rpi4
path: |
Expand All @@ -645,7 +645,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-armhf-rpi4
path: amiberry-${{ github.ref_name }}-debian-bookworm-armhf-rpi4.zip
Expand All @@ -669,7 +669,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-aarch64-rpi3
path: |
Expand All @@ -692,7 +692,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-aarch64-rpi3
path: amiberry-${{ github.ref_name }}-debian-buster-aarch64-rpi3.zip
Expand All @@ -716,7 +716,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-armhf-rpi3
path: |
Expand All @@ -739,7 +739,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-buster-armhf-rpi3
path: amiberry-${{ github.ref_name }}-debian-buster-armhf-rpi3.zip
Expand All @@ -763,7 +763,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-aarch64-rpi3
path: |
Expand All @@ -786,7 +786,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-aarch64-rpi3
path: amiberry-${{ github.ref_name }}-debian-bullseye-aarch64-rpi3.zip
Expand All @@ -810,7 +810,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-armhf-rpi3
path: |
Expand All @@ -833,7 +833,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bullseye-armhf-rpi3
path: amiberry-${{ github.ref_name }}-debian-bullseye-armhf-rpi3.zip
Expand All @@ -857,7 +857,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-aarch64-rpi3
path: |
Expand All @@ -880,7 +880,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-aarch64-rpi3
path: amiberry-${{ github.ref_name }}-debian-bookworm-aarch64-rpi3.zip
Expand All @@ -904,7 +904,7 @@ jobs:
- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-armhf-rpi3
path: |
Expand All @@ -927,7 +927,7 @@ jobs:

- name: Upload artifact
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amiberry-debian-bookworm-armhf-rpi3
path: amiberry-${{ github.ref_name }}-debian-bookworm-armhf-rpi3.zip
Expand Down

0 comments on commit 3520bb6

Please sign in to comment.