From 655a5079a30e80e4de00b5f32dd733586a82b19f Mon Sep 17 00:00:00 2001 From: Patrick Siegler Date: Sat, 10 Feb 2024 14:14:14 +0100 Subject: [PATCH] Update checkout and upload-artifact versions --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9c84bfe..e8a4257e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 }} @@ -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 @@ -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 }} @@ -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 }} @@ -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 }} @@ -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/* @@ -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 @@ -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 }} @@ -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 @@ -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 }}