Generate and upload artifacts through Github actions workflow. #69
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is generated. Do not edit directly. | |
| name: Engine Artifacts | |
| on: | |
| pull_request: | |
| env: | |
| DEPOT_TOOLS_WIN_TOOLCHAIN: 0 | |
| FLUTTER_PREBUILT_DART_SDK: 1 | |
| R2_BUCKET: flutter-zero-engine | |
| ENGINE_CHECKOUT_PATH: ${{ github.workspace }}/engine | |
| jobs: | |
| linux_android_profile: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_profile | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_profile.tar engine/src/out/ci/android_profile | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_profile.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile/zip_archives/android-arm-profile/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile/zip_archives/android-arm-profile | |
| tar -cvf artifact_0.tar artifacts.zip | |
| - name: Upload android-arm-profile/linux_android_profile | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_0 | |
| path: engine/src/out/ci/android_profile/zip_archives/android-arm-profile/artifact_0.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile/zip_archives/android-arm-profile/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile/zip_archives/android-arm-profile | |
| tar -cvf artifact_1.tar linux-x64.zip | |
| - name: Upload android-arm-profile/linux_android_profile | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_1 | |
| path: engine/src/out/ci/android_profile/zip_archives/android-arm-profile/artifact_1.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile/zip_archives/android-arm-profile/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile/zip_archives/android-arm-profile | |
| tar -cvf artifact_2.tar symbols.zip | |
| - name: Upload android-arm-profile/linux_android_profile | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_2 | |
| path: engine/src/out/ci/android_profile/zip_archives/android-arm-profile/artifact_2.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_profile/zip_archives | |
| tar -cvf artifact_3.tar download.flutter.io | |
| - name: Upload /linux_android_profile | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_3 | |
| path: engine/src/out/ci/android_profile/zip_archives/artifact_3.tar | |
| retention-days: 1 | |
| linux_android_release: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_release | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_release.tar engine/src/out/ci/android_release | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_release.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release/zip_archives/android-arm-release/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_release/zip_archives/android-arm-release | |
| tar -cvf artifact_4.tar artifacts.zip | |
| - name: Upload android-arm-release/linux_android_release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_4 | |
| path: engine/src/out/ci/android_release/zip_archives/android-arm-release/artifact_4.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release/zip_archives/android-arm-release/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release/zip_archives/android-arm-release | |
| tar -cvf artifact_5.tar linux-x64.zip | |
| - name: Upload android-arm-release/linux_android_release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_5 | |
| path: engine/src/out/ci/android_release/zip_archives/android-arm-release/artifact_5.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release/zip_archives/android-arm-release/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_release/zip_archives/android-arm-release | |
| tar -cvf artifact_6.tar symbols.zip | |
| - name: Upload android-arm-release/linux_android_release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_6 | |
| path: engine/src/out/ci/android_release/zip_archives/android-arm-release/artifact_6.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_release/zip_archives | |
| tar -cvf artifact_7.tar download.flutter.io | |
| - name: Upload /linux_android_release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_7 | |
| path: engine/src/out/ci/android_release/zip_archives/artifact_7.tar | |
| retention-days: 1 | |
| linux_android_release_arm64: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_release_arm64 | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_release_arm64.tar engine/src/out/ci/android_release_arm64 | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release_arm64-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_release_arm64.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release | |
| tar -cvf artifact_8.tar artifacts.zip | |
| - name: Upload android-arm64-release/linux_android_release_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_8 | |
| path: engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/artifact_8.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release | |
| tar -cvf artifact_9.tar linux-x64.zip | |
| - name: Upload android-arm64-release/linux_android_release_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_9 | |
| path: engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/artifact_9.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release | |
| tar -cvf artifact_10.tar symbols.zip | |
| - name: Upload android-arm64-release/linux_android_release_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_10 | |
| path: engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/artifact_10.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/analyze-snapshot-linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release | |
| tar -cvf artifact_11.tar analyze-snapshot-linux-x64.zip | |
| - name: Upload android-arm64-release/linux_android_release_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_11 | |
| path: engine/src/out/ci/android_release_arm64/zip_archives/android-arm64-release/artifact_11.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_arm64/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_release_arm64/zip_archives | |
| tar -cvf artifact_12.tar download.flutter.io | |
| - name: Upload /linux_android_release_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_12 | |
| path: engine/src/out/ci/android_release_arm64/zip_archives/artifact_12.tar | |
| retention-days: 1 | |
| linux_android_profile_arm64: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_profile_arm64 | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_profile_arm64.tar engine/src/out/ci/android_profile_arm64 | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile_arm64-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_profile_arm64.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile | |
| tar -cvf artifact_13.tar artifacts.zip | |
| - name: Upload android-arm64-profile/linux_android_profile_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_13 | |
| path: engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/artifact_13.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile | |
| tar -cvf artifact_14.tar linux-x64.zip | |
| - name: Upload android-arm64-profile/linux_android_profile_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_14 | |
| path: engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/artifact_14.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile | |
| tar -cvf artifact_15.tar symbols.zip | |
| - name: Upload android-arm64-profile/linux_android_profile_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_15 | |
| path: engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/artifact_15.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/analyze-snapshot-linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile | |
| tar -cvf artifact_16.tar analyze-snapshot-linux-x64.zip | |
| - name: Upload android-arm64-profile/linux_android_profile_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_16 | |
| path: engine/src/out/ci/android_profile_arm64/zip_archives/android-arm64-profile/artifact_16.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_arm64/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_profile_arm64/zip_archives | |
| tar -cvf artifact_17.tar download.flutter.io | |
| - name: Upload /linux_android_profile_arm64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_17 | |
| path: engine/src/out/ci/android_profile_arm64/zip_archives/artifact_17.tar | |
| retention-days: 1 | |
| linux_android_profile_x64: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_profile_x64 | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_profile_x64.tar engine/src/out/ci/android_profile_x64 | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile_x64-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_profile_x64.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile | |
| tar -cvf artifact_18.tar artifacts.zip | |
| - name: Upload android-x64-profile/linux_android_profile_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_18 | |
| path: engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/artifact_18.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile | |
| tar -cvf artifact_19.tar linux-x64.zip | |
| - name: Upload android-x64-profile/linux_android_profile_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_19 | |
| path: engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/artifact_19.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile | |
| tar -cvf artifact_20.tar symbols.zip | |
| - name: Upload android-x64-profile/linux_android_profile_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_20 | |
| path: engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/artifact_20.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/analyze-snapshot-linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile | |
| tar -cvf artifact_21.tar analyze-snapshot-linux-x64.zip | |
| - name: Upload android-x64-profile/linux_android_profile_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_21 | |
| path: engine/src/out/ci/android_profile_x64/zip_archives/android-x64-profile/artifact_21.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_x64/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_profile_x64/zip_archives | |
| tar -cvf artifact_22.tar download.flutter.io | |
| - name: Upload /linux_android_profile_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_22 | |
| path: engine/src/out/ci/android_profile_x64/zip_archives/artifact_22.tar | |
| retention-days: 1 | |
| linux_android_release_x64: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_release_x64 | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_release_x64.tar engine/src/out/ci/android_release_x64 | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release_x64-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_release_x64.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_x64/zip_archives/android-x64-release | |
| tar -cvf artifact_23.tar artifacts.zip | |
| - name: Upload android-x64-release/linux_android_release_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_23 | |
| path: engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/artifact_23.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_x64/zip_archives/android-x64-release | |
| tar -cvf artifact_24.tar linux-x64.zip | |
| - name: Upload android-x64-release/linux_android_release_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_24 | |
| path: engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/artifact_24.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_x64/zip_archives/android-x64-release | |
| tar -cvf artifact_25.tar symbols.zip | |
| - name: Upload android-x64-release/linux_android_release_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_25 | |
| path: engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/artifact_25.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/analyze-snapshot-linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_x64/zip_archives/android-x64-release | |
| tar -cvf artifact_26.tar analyze-snapshot-linux-x64.zip | |
| - name: Upload android-x64-release/linux_android_release_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_26 | |
| path: engine/src/out/ci/android_release_x64/zip_archives/android-x64-release/artifact_26.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_x64/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_release_x64/zip_archives | |
| tar -cvf artifact_27.tar download.flutter.io | |
| - name: Upload /linux_android_release_x64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_27 | |
| path: engine/src/out/ci/android_release_x64/zip_archives/artifact_27.tar | |
| retention-days: 1 | |
| linux_android_profile_riscv64: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_profile_riscv64 | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_profile_riscv64.tar engine/src/out/ci/android_profile_riscv64 | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile_riscv64-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_profile_riscv64.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile | |
| tar -cvf artifact_28.tar artifacts.zip | |
| - name: Upload android-riscv64-profile/linux_android_profile_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_28 | |
| path: engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/artifact_28.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile | |
| tar -cvf artifact_29.tar linux-x64.zip | |
| - name: Upload android-riscv64-profile/linux_android_profile_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_29 | |
| path: engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/artifact_29.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile | |
| tar -cvf artifact_30.tar symbols.zip | |
| - name: Upload android-riscv64-profile/linux_android_profile_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_30 | |
| path: engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/artifact_30.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/analyze-snapshot-linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile | |
| tar -cvf artifact_31.tar analyze-snapshot-linux-x64.zip | |
| - name: Upload android-riscv64-profile/linux_android_profile_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_31 | |
| path: engine/src/out/ci/android_profile_riscv64/zip_archives/android-riscv64-profile/artifact_31.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_profile_riscv64/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_profile_riscv64/zip_archives | |
| tar -cvf artifact_32.tar download.flutter.io | |
| - name: Upload /linux_android_profile_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_32 | |
| path: engine/src/out/ci/android_profile_riscv64/zip_archives/artifact_32.tar | |
| retention-days: 1 | |
| linux_android_release_riscv64: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Build engine | |
| run: | | |
| cd engine/src | |
| ./flutter/bin/et build --config ci/android_release_riscv64 | |
| - name: Tar build files | |
| run: | | |
| tar -cvf linux_android_release_riscv64.tar engine/src/out/ci/android_release_riscv64 | |
| - name: Upload build files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release_riscv64-${{ steps.engine_content_hash.outputs.value }} | |
| path: linux_android_release_riscv64.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/artifacts.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release | |
| tar -cvf artifact_33.tar artifacts.zip | |
| - name: Upload android-riscv64-release/linux_android_release_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_33 | |
| path: engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/artifact_33.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release | |
| tar -cvf artifact_34.tar linux-x64.zip | |
| - name: Upload android-riscv64-release/linux_android_release_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_34 | |
| path: engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/artifact_34.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/symbols.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release | |
| tar -cvf artifact_35.tar symbols.zip | |
| - name: Upload android-riscv64-release/linux_android_release_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_35 | |
| path: engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/artifact_35.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/analyze-snapshot-linux-x64.zip | |
| run: | | |
| cd engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release | |
| tar -cvf artifact_36.tar analyze-snapshot-linux-x64.zip | |
| - name: Upload android-riscv64-release/linux_android_release_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_36 | |
| path: engine/src/out/ci/android_release_riscv64/zip_archives/android-riscv64-release/artifact_36.tar | |
| retention-days: 1 | |
| - name: Tar engine/src/out/ci/android_release_riscv64/zip_archives/download.flutter.io | |
| run: | | |
| cd engine/src/out/ci/android_release_riscv64/zip_archives | |
| tar -cvf artifact_37.tar download.flutter.io | |
| - name: Upload /linux_android_release_riscv64 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_37 | |
| path: engine/src/out/ci/android_release_riscv64/zip_archives/artifact_37.tar | |
| retention-days: 1 | |
| linux_android_aot_engine_global: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - linux_android_profile | |
| - linux_android_release | |
| - linux_android_release_arm64 | |
| - linux_android_profile_arm64 | |
| - linux_android_profile_x64 | |
| - linux_android_release_x64 | |
| - linux_android_profile_riscv64 | |
| - linux_android_release_riscv64 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| if: runner.os != 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Free disk space | |
| if: runner.os == 'Linux' && runner.arch == 'X64' | |
| run: curl -fsSL https://raw.githubusercontent.com/apache/arrow/e49d8ae15583ceff03237571569099a6ad62be32/ci/scripts/util_free_space.sh | bash | |
| - name: Set up depot_tools | |
| if: runner.os == 'Windows' | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| DEPOT_TOOLS_WIN=$(cygpath -w "$HOME/depot_tools") | |
| echo "$DEPOT_TOOLS_WIN" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Copy gclient file | |
| run: | | |
| cp engine/scripts/standard.gclient .gclient | |
| - name: GClient sync | |
| run: | | |
| gclient sync -D --no-history --shallow --with_branch_heads | |
| - name: Download Artifacts from linux_android_profile | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_profile | |
| run: | | |
| tar -xvf linux_android_profile.tar | |
| rm linux_android_profile.tar | |
| - name: Download Artifacts from linux_android_release | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_release | |
| run: | | |
| tar -xvf linux_android_release.tar | |
| rm linux_android_release.tar | |
| - name: Download Artifacts from linux_android_release_arm64 | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release_arm64-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_release_arm64 | |
| run: | | |
| tar -xvf linux_android_release_arm64.tar | |
| rm linux_android_release_arm64.tar | |
| - name: Download Artifacts from linux_android_profile_arm64 | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile_arm64-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_profile_arm64 | |
| run: | | |
| tar -xvf linux_android_profile_arm64.tar | |
| rm linux_android_profile_arm64.tar | |
| - name: Download Artifacts from linux_android_profile_x64 | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile_x64-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_profile_x64 | |
| run: | | |
| tar -xvf linux_android_profile_x64.tar | |
| rm linux_android_profile_x64.tar | |
| - name: Download Artifacts from linux_android_release_x64 | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release_x64-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_release_x64 | |
| run: | | |
| tar -xvf linux_android_release_x64.tar | |
| rm linux_android_release_x64.tar | |
| - name: Download Artifacts from linux_android_profile_riscv64 | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_profile_riscv64-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_profile_riscv64 | |
| run: | | |
| tar -xvf linux_android_profile_riscv64.tar | |
| rm linux_android_profile_riscv64.tar | |
| - name: Download Artifacts from linux_android_release_riscv64 | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts-linux_android_release_riscv64-${{ steps.engine_content_hash.outputs.value }} | |
| - name: Extract Artifacts from linux_android_release_riscv64 | |
| run: | | |
| tar -xvf linux_android_release_riscv64.tar | |
| rm linux_android_release_riscv64.tar | |
| - name: Run generator Verify-export-symbols-release-binaries | |
| run: | | |
| cd engine/src | |
| ../../bin/dart flutter/testing/symbols/verify_exported.dart \ | |
| src/out/ci \ | |
| src/flutter/buildtools | |
| publish_artifacts: | |
| defaults: | |
| run: | |
| shell: bash | |
| needs: | |
| - linux_android_profile | |
| - linux_android_release | |
| - linux_android_release_arm64 | |
| - linux_android_profile_arm64 | |
| - linux_android_profile_x64 | |
| - linux_android_release_x64 | |
| - linux_android_profile_riscv64 | |
| - linux_android_release_riscv64 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: '' | |
| - name: Set up depot_tools | |
| run: | | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools | |
| # Append depot_tools to the PATH for subsequent steps | |
| echo "$HOME/depot_tools" >> $GITHUB_PATH | |
| - name: Generate engine content hash | |
| id: engine_content_hash | |
| run: | | |
| engine_content_hash=$(bin/internal/content_aware_hash.sh) | |
| echo "::notice:: Engine content hash: ${engine_content_hash}" | |
| echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT | |
| - name: Download android-arm-profile/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_0 | |
| path: artifact-0/ | |
| - name: Extract android-arm-profile/artifacts.zip | |
| run: | | |
| tar -xvf artifact-0/artifact_0.tar -C artifact-0/ | |
| rm artifact-0/artifact_0.tar | |
| - name: Download android-arm-profile/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_1 | |
| path: artifact-1/ | |
| - name: Extract android-arm-profile/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-1/artifact_1.tar -C artifact-1/ | |
| rm artifact-1/artifact_1.tar | |
| - name: Download android-arm-profile/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_2 | |
| path: artifact-2/ | |
| - name: Extract android-arm-profile/symbols.zip | |
| run: | | |
| tar -xvf artifact-2/artifact_2.tar -C artifact-2/ | |
| rm artifact-2/artifact_2.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_3 | |
| path: artifact-3/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-3/artifact_3.tar -C artifact-3/ | |
| rm artifact-3/artifact_3.tar | |
| - name: Download android-arm-release/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_4 | |
| path: artifact-4/ | |
| - name: Extract android-arm-release/artifacts.zip | |
| run: | | |
| tar -xvf artifact-4/artifact_4.tar -C artifact-4/ | |
| rm artifact-4/artifact_4.tar | |
| - name: Download android-arm-release/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_5 | |
| path: artifact-5/ | |
| - name: Extract android-arm-release/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-5/artifact_5.tar -C artifact-5/ | |
| rm artifact-5/artifact_5.tar | |
| - name: Download android-arm-release/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_6 | |
| path: artifact-6/ | |
| - name: Extract android-arm-release/symbols.zip | |
| run: | | |
| tar -xvf artifact-6/artifact_6.tar -C artifact-6/ | |
| rm artifact-6/artifact_6.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_7 | |
| path: artifact-7/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-7/artifact_7.tar -C artifact-7/ | |
| rm artifact-7/artifact_7.tar | |
| - name: Download android-arm64-release/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_8 | |
| path: artifact-8/ | |
| - name: Extract android-arm64-release/artifacts.zip | |
| run: | | |
| tar -xvf artifact-8/artifact_8.tar -C artifact-8/ | |
| rm artifact-8/artifact_8.tar | |
| - name: Download android-arm64-release/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_9 | |
| path: artifact-9/ | |
| - name: Extract android-arm64-release/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-9/artifact_9.tar -C artifact-9/ | |
| rm artifact-9/artifact_9.tar | |
| - name: Download android-arm64-release/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_10 | |
| path: artifact-10/ | |
| - name: Extract android-arm64-release/symbols.zip | |
| run: | | |
| tar -xvf artifact-10/artifact_10.tar -C artifact-10/ | |
| rm artifact-10/artifact_10.tar | |
| - name: Download android-arm64-release/analyze-snapshot-linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_11 | |
| path: artifact-11/ | |
| - name: Extract android-arm64-release/analyze-snapshot-linux-x64.zip | |
| run: | | |
| tar -xvf artifact-11/artifact_11.tar -C artifact-11/ | |
| rm artifact-11/artifact_11.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_12 | |
| path: artifact-12/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-12/artifact_12.tar -C artifact-12/ | |
| rm artifact-12/artifact_12.tar | |
| - name: Download android-arm64-profile/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_13 | |
| path: artifact-13/ | |
| - name: Extract android-arm64-profile/artifacts.zip | |
| run: | | |
| tar -xvf artifact-13/artifact_13.tar -C artifact-13/ | |
| rm artifact-13/artifact_13.tar | |
| - name: Download android-arm64-profile/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_14 | |
| path: artifact-14/ | |
| - name: Extract android-arm64-profile/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-14/artifact_14.tar -C artifact-14/ | |
| rm artifact-14/artifact_14.tar | |
| - name: Download android-arm64-profile/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_15 | |
| path: artifact-15/ | |
| - name: Extract android-arm64-profile/symbols.zip | |
| run: | | |
| tar -xvf artifact-15/artifact_15.tar -C artifact-15/ | |
| rm artifact-15/artifact_15.tar | |
| - name: Download android-arm64-profile/analyze-snapshot-linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_16 | |
| path: artifact-16/ | |
| - name: Extract android-arm64-profile/analyze-snapshot-linux-x64.zip | |
| run: | | |
| tar -xvf artifact-16/artifact_16.tar -C artifact-16/ | |
| rm artifact-16/artifact_16.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_17 | |
| path: artifact-17/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-17/artifact_17.tar -C artifact-17/ | |
| rm artifact-17/artifact_17.tar | |
| - name: Download android-x64-profile/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_18 | |
| path: artifact-18/ | |
| - name: Extract android-x64-profile/artifacts.zip | |
| run: | | |
| tar -xvf artifact-18/artifact_18.tar -C artifact-18/ | |
| rm artifact-18/artifact_18.tar | |
| - name: Download android-x64-profile/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_19 | |
| path: artifact-19/ | |
| - name: Extract android-x64-profile/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-19/artifact_19.tar -C artifact-19/ | |
| rm artifact-19/artifact_19.tar | |
| - name: Download android-x64-profile/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_20 | |
| path: artifact-20/ | |
| - name: Extract android-x64-profile/symbols.zip | |
| run: | | |
| tar -xvf artifact-20/artifact_20.tar -C artifact-20/ | |
| rm artifact-20/artifact_20.tar | |
| - name: Download android-x64-profile/analyze-snapshot-linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_21 | |
| path: artifact-21/ | |
| - name: Extract android-x64-profile/analyze-snapshot-linux-x64.zip | |
| run: | | |
| tar -xvf artifact-21/artifact_21.tar -C artifact-21/ | |
| rm artifact-21/artifact_21.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_22 | |
| path: artifact-22/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-22/artifact_22.tar -C artifact-22/ | |
| rm artifact-22/artifact_22.tar | |
| - name: Download android-x64-release/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_23 | |
| path: artifact-23/ | |
| - name: Extract android-x64-release/artifacts.zip | |
| run: | | |
| tar -xvf artifact-23/artifact_23.tar -C artifact-23/ | |
| rm artifact-23/artifact_23.tar | |
| - name: Download android-x64-release/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_24 | |
| path: artifact-24/ | |
| - name: Extract android-x64-release/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-24/artifact_24.tar -C artifact-24/ | |
| rm artifact-24/artifact_24.tar | |
| - name: Download android-x64-release/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_25 | |
| path: artifact-25/ | |
| - name: Extract android-x64-release/symbols.zip | |
| run: | | |
| tar -xvf artifact-25/artifact_25.tar -C artifact-25/ | |
| rm artifact-25/artifact_25.tar | |
| - name: Download android-x64-release/analyze-snapshot-linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_26 | |
| path: artifact-26/ | |
| - name: Extract android-x64-release/analyze-snapshot-linux-x64.zip | |
| run: | | |
| tar -xvf artifact-26/artifact_26.tar -C artifact-26/ | |
| rm artifact-26/artifact_26.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_27 | |
| path: artifact-27/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-27/artifact_27.tar -C artifact-27/ | |
| rm artifact-27/artifact_27.tar | |
| - name: Download android-riscv64-profile/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_28 | |
| path: artifact-28/ | |
| - name: Extract android-riscv64-profile/artifacts.zip | |
| run: | | |
| tar -xvf artifact-28/artifact_28.tar -C artifact-28/ | |
| rm artifact-28/artifact_28.tar | |
| - name: Download android-riscv64-profile/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_29 | |
| path: artifact-29/ | |
| - name: Extract android-riscv64-profile/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-29/artifact_29.tar -C artifact-29/ | |
| rm artifact-29/artifact_29.tar | |
| - name: Download android-riscv64-profile/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_30 | |
| path: artifact-30/ | |
| - name: Extract android-riscv64-profile/symbols.zip | |
| run: | | |
| tar -xvf artifact-30/artifact_30.tar -C artifact-30/ | |
| rm artifact-30/artifact_30.tar | |
| - name: Download android-riscv64-profile/analyze-snapshot-linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_31 | |
| path: artifact-31/ | |
| - name: Extract android-riscv64-profile/analyze-snapshot-linux-x64.zip | |
| run: | | |
| tar -xvf artifact-31/artifact_31.tar -C artifact-31/ | |
| rm artifact-31/artifact_31.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_32 | |
| path: artifact-32/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-32/artifact_32.tar -C artifact-32/ | |
| rm artifact-32/artifact_32.tar | |
| - name: Download android-riscv64-release/artifacts.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_33 | |
| path: artifact-33/ | |
| - name: Extract android-riscv64-release/artifacts.zip | |
| run: | | |
| tar -xvf artifact-33/artifact_33.tar -C artifact-33/ | |
| rm artifact-33/artifact_33.tar | |
| - name: Download android-riscv64-release/linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_34 | |
| path: artifact-34/ | |
| - name: Extract android-riscv64-release/linux-x64.zip | |
| run: | | |
| tar -xvf artifact-34/artifact_34.tar -C artifact-34/ | |
| rm artifact-34/artifact_34.tar | |
| - name: Download android-riscv64-release/symbols.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_35 | |
| path: artifact-35/ | |
| - name: Extract android-riscv64-release/symbols.zip | |
| run: | | |
| tar -xvf artifact-35/artifact_35.tar -C artifact-35/ | |
| rm artifact-35/artifact_35.tar | |
| - name: Download android-riscv64-release/analyze-snapshot-linux-x64.zip | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_36 | |
| path: artifact-36/ | |
| - name: Extract android-riscv64-release/analyze-snapshot-linux-x64.zip | |
| run: | | |
| tar -xvf artifact-36/artifact_36.tar -C artifact-36/ | |
| rm artifact-36/artifact_36.tar | |
| - name: Download /download.flutter.io | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact_${{ steps.engine_content_hash.outputs.value }}_37 | |
| path: artifact-37/ | |
| - name: Extract /download.flutter.io | |
| run: | | |
| tar -xvf artifact-37/artifact_37.tar -C artifact-37/ | |
| rm artifact-37/artifact_37.tar | |
| - name: Publish android-arm-profile/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-0/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm-profile | |
| - name: Publish android-arm-profile/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-1/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm-profile | |
| - name: Publish android-arm-profile/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-2/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm-profile | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-3/ | |
| destination-dir: ./ | |
| - name: Publish android-arm-release/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-4/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm-release | |
| - name: Publish android-arm-release/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-5/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm-release | |
| - name: Publish android-arm-release/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-6/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm-release | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-7/ | |
| destination-dir: ./ | |
| - name: Publish android-arm64-release/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-8/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-release | |
| - name: Publish android-arm64-release/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-9/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-release | |
| - name: Publish android-arm64-release/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-10/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-release | |
| - name: Publish android-arm64-release/analyze-snapshot-linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-11/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-release | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-12/ | |
| destination-dir: ./ | |
| - name: Publish android-arm64-profile/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-13/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-profile | |
| - name: Publish android-arm64-profile/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-14/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-profile | |
| - name: Publish android-arm64-profile/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-15/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-profile | |
| - name: Publish android-arm64-profile/analyze-snapshot-linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-16/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-arm64-profile | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-17/ | |
| destination-dir: ./ | |
| - name: Publish android-x64-profile/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-18/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-profile | |
| - name: Publish android-x64-profile/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-19/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-profile | |
| - name: Publish android-x64-profile/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-20/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-profile | |
| - name: Publish android-x64-profile/analyze-snapshot-linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-21/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-profile | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-22/ | |
| destination-dir: ./ | |
| - name: Publish android-x64-release/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-23/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-release | |
| - name: Publish android-x64-release/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-24/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-release | |
| - name: Publish android-x64-release/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-25/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-release | |
| - name: Publish android-x64-release/analyze-snapshot-linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-26/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-x64-release | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-27/ | |
| destination-dir: ./ | |
| - name: Publish android-riscv64-profile/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-28/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-profile | |
| - name: Publish android-riscv64-profile/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-29/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-profile | |
| - name: Publish android-riscv64-profile/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-30/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-profile | |
| - name: Publish android-riscv64-profile/analyze-snapshot-linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-31/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-profile | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-32/ | |
| destination-dir: ./ | |
| - name: Publish android-riscv64-release/artifacts.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-33/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-release | |
| - name: Publish android-riscv64-release/linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-34/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-release | |
| - name: Publish android-riscv64-release/symbols.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-35/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-release | |
| - name: Publish android-riscv64-release/analyze-snapshot-linux-x64.zip | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-36/ | |
| destination-dir: flutter_infra_release/flutter/${{ steps.engine_content_hash.outputs.value }}/android-riscv64-release | |
| - name: Publish /download.flutter.io | |
| uses: ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c | |
| with: | |
| r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
| r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| r2-bucket: ${{ env.R2_BUCKET }} | |
| source-dir: artifact-37/ | |
| destination-dir: ./ |