Skip to content

Commit

Permalink
Update checkout and upload-artifact versions
Browse files Browse the repository at this point in the history
  • Loading branch information
psieg committed Feb 10, 2024
1 parent e52f5f4 commit 655a507
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: pacman Build (Arch Linux)
steps:
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
working-directory: Software/dist_linux
run: ./build-in-docker.sh pacman archlinux latest
Expand All @@ -25,7 +25,7 @@ jobs:
echo "PKG_PATH=Software/$PKG_PATH" >> $GITHUB_ENV
echo "PKG_NAME=$(basename $PKG_PATH)" >> $GITHUB_ENV
- name: Upload Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG_NAME }}
path: ${{ env.PKG_PATH }}
Expand All @@ -35,7 +35,7 @@ jobs:
name: Flatpack Build
steps:
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install Flatpak
run: |
set -xe
Expand All @@ -52,7 +52,7 @@ jobs:
echo "PKG_PATH=Software/$PKG_PATH" >> $GITHUB_ENV
echo "PKG_NAME=$(basename $PKG_PATH)" >> $GITHUB_ENV
- name: Upload Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG_NAME }}
path: ${{ env.PKG_PATH }}
Expand All @@ -65,7 +65,7 @@ jobs:
name: dpkg Build (${{ matrix.os }})
steps:
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
working-directory: Software/dist_linux
run: ./build-in-docker.sh dpkg ${{ matrix.os }}
Expand All @@ -76,7 +76,7 @@ jobs:
echo "PKG_PATH=Software/$PKG_PATH" >> $GITHUB_ENV
echo "PKG_NAME=$(basename $PKG_PATH | sed 's#amd64#${{ matrix.os }}_amd64#; s# ##')" >> $GITHUB_ENV
- name: Upload Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG_NAME }}
path: ${{ env.PKG_PATH }}
Expand All @@ -85,13 +85,13 @@ jobs:
name: Firmware Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: sudo apt-get install gcc-avr avr-libc build-essential
- run: ./build_batch.sh
working-directory: ./Firmware
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firmware
path: Firmware/hex/*
Expand All @@ -100,7 +100,7 @@ jobs:
name: Windows Build
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- run: choco install --no-progress openssl --version=1.1.1.2100
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
echo "PKG_PATH=Software/$PKG_PATH" >> $GITHUB_ENV
echo "PKG_NAME=$PKG_NAME" >> $GITHUB_ENV
- name: Upload Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG_NAME }}
path: ${{ env.PKG_PATH }}
Expand All @@ -187,7 +187,7 @@ jobs:
env:
QT_DEST: Qt
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Select Latest Xcode
run: |
set -xe
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
echo "PKG_PATH=$PKG_PATH" >> $GITHUB_ENV
echo "PKG_NAME=$PKG_NAME" >> $GITHUB_ENV
- name: Upload Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG_NAME }}
path: ${{ env.PKG_PATH }}

0 comments on commit 655a507

Please sign in to comment.