From 33b16a3bf65db2e595e1f10fbc3bb1cd9e8ee416 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Fri, 15 Dec 2023 00:00:14 +0100 Subject: [PATCH] Update upload/download artifact to v4 --- .github/workflows/build_appstore.yml | 2 +- .github/workflows/build_notarized.yml | 8 ++++---- .github/workflows/pr.yml | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_appstore.yml b/.github/workflows/build_appstore.yml index 09483d9b2b..d01509aaee 100644 --- a/.github/workflows/build_appstore.yml +++ b/.github/workflows/build_appstore.yml @@ -108,7 +108,7 @@ jobs: echo "app_version=${version}.${build_number}" >> $GITHUB_ENV - name: Upload dSYMs artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: DuckDuckGo-${{ env.destination }}-dSYM-${{ env.app_version }} path: ${{ env.dsyms_path }} diff --git a/.github/workflows/build_notarized.yml b/.github/workflows/build_notarized.yml index 7b22f213d9..f7544d83c0 100644 --- a/.github/workflows/build_notarized.yml +++ b/.github/workflows/build_notarized.yml @@ -159,13 +159,13 @@ jobs: echo "app-name=${{ env.app-name }}" >> $GITHUB_OUTPUT - name: Upload app artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: DuckDuckGo-${{ env.release-type }}-${{ env.app-version }}.app path: ${{ github.workspace }}/release/DuckDuckGo-${{ env.app-version }}.zip - name: Upload dSYMs artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: DuckDuckGo-${{ env.release-type }}-dSYM-${{ env.app-version }} path: ${{ github.workspace }}/release/DuckDuckGo-${{ env.app-version }}-dSYM.zip @@ -209,7 +209,7 @@ jobs: steps: - name: Fetch app bundle - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: DuckDuckGo-${{ env.release-type }}-${{ env.app-version }}.app path: ${{ github.workspace }}/dmg @@ -238,7 +238,7 @@ jobs: "dmg" - name: Upload DMG artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: DuckDuckGo-${{ env.release-type }}-${{ env.app-version }}.dmg path: ${{ github.workspace }}/duckduckgo*-${{ env.app-version }}.dmg diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7e6529e922..4567c11889 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -210,7 +210,7 @@ jobs: | xargs -L 1 ./scripts/report-failed-unit-test.sh - name: Upload failed unit tests log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ${{ matrix.flavor }}-unittests-xcodebuild.log @@ -218,7 +218,7 @@ jobs: retention-days: 7 - name: Upload failed unit tests xcresult - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ${{ matrix.flavor }}-unittests.xcresult @@ -226,7 +226,7 @@ jobs: retention-days: 7 - name: Upload failed integration tests log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() && matrix.flavor != 'DBP' with: name: ${{ matrix.flavor }}-integrationtests-xcodebuild.log @@ -234,7 +234,7 @@ jobs: retention-days: 7 - name: Upload failed integration tests xcresult - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() && matrix.flavor != 'DBP' with: name: ${{ matrix.flavor }}-integrationtests.xcresult @@ -333,7 +333,7 @@ jobs: | xcbeautify - name: Upload failed test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: release-xcodebuild.log