Skip to content

Commit

Permalink
force update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget committed Mar 28, 2024
1 parent 50da1b0 commit 8249ebe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gluten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
schedule:
- cron: 0 4 * * *
workflow_dispatch:
forceUpdateCache:
description: 'Force Update Cache: ture or false'
required: true
default: 'false'

env:
MVN_OPT: -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Pjdbc-shaded,gen-policy -Dmaven.plugin.download.cache.path=/tmp/engine-archives
Expand Down Expand Up @@ -75,7 +79,7 @@ jobs:
cp package/target/gluten-velox-bundle-spark*.jar dist
fi
- uses: actions/cache@v3
if: steps.gluten-cache.outputs.cache-hit != 'true'
if: steps.gluten-cache.outputs.cache-hit != 'true' || ${{ github.event.inputs.forceUpdateCache }} == 'true'
with:
path: gluten/dist/
key: gluten_dist_${{ steps.date.outputs.date }}
Expand Down

0 comments on commit 8249ebe

Please sign in to comment.