From ac80026d447e669b1002e4aad1f32f7dd1856687 Mon Sep 17 00:00:00 2001 From: Andrew Rowson Date: Fri, 5 Jan 2024 09:47:13 +0000 Subject: [PATCH] Upload and download artifact GHA to v4 --- .github/workflows/build-and-package.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-package.yaml b/.github/workflows/build-and-package.yaml index c465040..fc1ea00 100644 --- a/.github/workflows/build-and-package.yaml +++ b/.github/workflows/build-and-package.yaml @@ -53,7 +53,7 @@ jobs: fail_ci_if_error: true if: always() - name: Upload build artifact - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 + uses: actions/upload-artifact@v4 with: name: target path: target/**/${{ env.BINARY_NAME }} @@ -70,7 +70,7 @@ jobs: working-directory: ./packaging bundler-cache: true - name: Download build artifact - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 + uses: actions/download-artifact@v4 - name: Set binary as executable run: | find target -name ${{ env.BINARY_NAME }} -exec chmod +x {} \; @@ -107,7 +107,7 @@ jobs: APP_URL: https://github.com/${{ github.repository }} DEB_ARCH: ${{ env.PACKAGE_ARCH }} - name: Upload build artifact - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 + uses: actions/upload-artifact@v4 with: name: deb-package path: "packaging/*.deb" @@ -118,7 +118,7 @@ jobs: needs: build-package steps: - name: Download build artifact - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 + uses: actions/download-artifact@v4 with: name: deb-package - name: Upload to Apt repo