Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-bethke-timu committed Aug 20, 2024
1 parent d80f238 commit 17e0adc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/build-flutter-engine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
gcs_bucket:
description: The GCS bucket name where the engine build output will be stored
required: true

runs:
using: composite
steps:
Expand All @@ -32,10 +32,13 @@ runs:
cd ${MY_ROOT}/my-flutter/engine
echo 'solutions = [{"custom_deps": {},"custom_vars":{"download_emsdk": True},"deps_file": "DEPS","managed": False,"name": "src/flutter","safesync_url": "","url": "https://github.com/${GITHUB_REPOSITORY}",},]' > .gclient
echo git ls-remote --heads ${{env.FLUTTER_API_GIT_URL}} ${GITHUB_REF_NAME}
FLUTTER_API_BRANCH=main
if [ "${FLUTTER_API_BRANCH_OVERRIDE}" != "" ]; then
FLUTTER_API_BRANCH=${FLUTTER_BRANCH_OVERRIDE}
elif git ls-remote --heads ${FLUTTER_API_GIT_URL} ${GITHUB_REF_NAME} | grep ${GITHUB_REF_NAME} > /dev/null; then
elif git ls-remote --heads ${{env.FLUTTER_API_GIT_URL}} ${GITHUB_REF_NAME} | grep ${GITHUB_REF_NAME} > /dev/null; then
FLUTTER_API_BRANCH=${GITHUB_REF_NAME}
fi
Expand Down Expand Up @@ -75,7 +78,7 @@ runs:
# Delete the flutter client api
rm -rf my-flutter/flutter
FILE_NAME=brandon-my-flutter-build-${ENGINE_HASH}-release-linux.tar.gzip
FILE_NAME=brandon-my-flutter-build-${GITHUB_REF_NAME}-release-linux.tar.gzip
tar -czf ${FILE_NAME} my-flutter
gcloud storage cp ${FILE_NAME} gs://${{inputs.gcs_bucket}}
echo saved ${FILE_NAME} to gs://${{inputs.gcs_bucket}}

0 comments on commit 17e0adc

Please sign in to comment.