From 2a7dad2c38d2a78b6b70fb8e7ccc6a27b192e9ee Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Thu, 23 Jan 2025 18:33:30 +0100 Subject: [PATCH] migrated to artifacts v4 --- .github/workflows/build_apk.yml | 4 ++-- .github/workflows/build_ipa.yml | 4 ++-- .github/workflows/create_release.yml | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index 88b6347..fc260ce 100644 --- a/.github/workflows/build_apk.yml +++ b/.github/workflows/build_apk.yml @@ -115,7 +115,7 @@ jobs: - name: Download release notes continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} path: ${{ env.RELEASE_NOTES_PATH }} @@ -136,7 +136,7 @@ jobs: run: flutter build ${{ inputs.binary-type }} $BUILD_ARGS - name: Upload ${{ inputs.binary-type }} to artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: m3_lightmeter_${{ inputs.binary-type }} path: ${{ inputs.binary-type == 'apk' && env.BUILD_APK_PATH || env.BUILD_AAB_PATH }} diff --git a/.github/workflows/build_ipa.yml b/.github/workflows/build_ipa.yml index 8a4db0a..5a22573 100644 --- a/.github/workflows/build_ipa.yml +++ b/.github/workflows/build_ipa.yml @@ -108,7 +108,7 @@ jobs: - name: Download release notes continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} path: ${{ env.RELEASE_NOTES_PATH }} @@ -135,7 +135,7 @@ jobs: --export-options-plist=ios/Runner/ExportOptions.plist - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: m3_lightmeter_ipa path: build/ios/ipa/lightmeter.ipa diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 3d727fb..74814a6 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -69,7 +69,7 @@ jobs: echo ${{ inputs.release-notes }} > ${{ env.RELEASE_NOTES_FILE }} perl -i -pe 's/\s{1}(-{1})/\n$1/g' ${{ env.RELEASE_NOTES_FILE }} - name: Upload merged_native_libs.zip to artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} path: ${{ env.RELEASE_NOTES_FILE }} @@ -112,12 +112,12 @@ jobs: submodules: recursive - name: Download apk - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: m3_lightmeter_apk - name: Download release notes - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} path: ${{ env.RELEASE_NOTES_PATH }} @@ -161,7 +161,7 @@ jobs: submodules: recursive - name: Download app bundle - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: m3_lightmeter_appbundle @@ -171,7 +171,7 @@ jobs: (cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .) - name: Download release notes - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} @@ -213,7 +213,7 @@ jobs: submodules: recursive - name: Download ipa - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: m3_lightmeter_ipa