File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 2828echo " Bitrise Build Cache is activated in this workspace, configuring the build environment ..."
2929
3030# download the Bitrise Build Cache CLI
31- export BITRISE_BUILD_CACHE_CLI_VERSION=" v1.0.0-rc1 "
31+ export BITRISE_BUILD_CACHE_CLI_VERSION=" v1.0.0-rc2 "
3232curl --retry 5 -m 30 -sSfL ' https://raw.githubusercontent.com/bitrise-io/bitrise-build-cache-cli/main/install/installer.sh' | sh -s -- -b /tmp/bin -d $BITRISE_BUILD_CACHE_CLI_VERSION || true
3333
3434# Fall back to Artifact Registry if the download failed
@@ -61,5 +61,9 @@ if [ "$verbose" != "true" ] && [ "$verbose" != "false" ]; then
6161 echo " Parsing inputs failed: Verbose logging ($verbose ) is not a valid option."
6262fi
6363
64+ if [ " $push " != " true" ] && [ " $push " != " false" ]; then
65+ echo " Parsing inputs failed: Push new cache entries ($push ) is not a valid option."
66+ fi
67+
6468# run the Bitrise Build Cache CLI
65- /tmp/bin/bitrise-build-cache activate xcode --debug=" $verbose " --cache
69+ /tmp/bin/bitrise-build-cache activate xcode --debug=" $verbose " --cache --cache-push= " $push "
Original file line number Diff line number Diff line change @@ -30,3 +30,11 @@ inputs:
3030 value_options :
3131 - " true"
3232 - " false"
33+ - push : " true"
34+ opts :
35+ title : Push new cache entries
36+ summary : Whether the build can not only read, but write new entries to the remote cache
37+ is_required : true
38+ value_options :
39+ - " true"
40+ - " false"
You can’t perform that action at this time.
0 commit comments