From eca0a6e3a712baf64fd991e7a528ca6097f5952f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Loipf=C3=BChrer?= Date: Wed, 3 Jan 2024 02:28:36 +0100 Subject: [PATCH] ci: fix artifact up / download --- .github/workflows/frontend.yaml | 2 +- .github/workflows/push_on_master.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 9a73d4b4..4264f4d5 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -127,7 +127,7 @@ jobs: run: npx nx build-android mobile --tasks assembleRelease - name: Upload APK - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v2 with: name: app-release-apk path: frontend/apps/mobile/android/app/build/outputs/apk/release/app-release.apk diff --git a/.github/workflows/push_on_master.yaml b/.github/workflows/push_on_master.yaml index 6160955b..55770703 100644 --- a/.github/workflows/push_on_master.yaml +++ b/.github/workflows/push_on_master.yaml @@ -147,7 +147,7 @@ jobs: rm -rf /tmp/.buildx-cache mv /tmp/.buildx-cache-new /tmp/.buildx-cache - name: Upload debs as artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v2 with: name: deb-${{ matrix.distro }} path: debs/* @@ -163,7 +163,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all workflow run artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v2 - name: Trigger demo deployment via webhook run: curl ${{ secrets.DEMO_DEPLOY_WEBHOOK_URL }} -F "archive=@$(find -name 'abrechnung_*bookworm*_amd64.deb')" --fail @@ -178,7 +178,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all workflow run artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v2 with: path: artifacts merge-multiple: true