We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4491157 commit ae744b9Copy full SHA for ae744b9
.github/workflows/build-notebooks-TEMPLATE.yaml
@@ -290,6 +290,11 @@ jobs:
290
CONTAINER_BUILD_CACHE_ARGS: "--cache-from ${{ env.CACHE }} --cache-to ${{ env.CACHE }}"
291
- name: "pull_request: make ${{ inputs.target }}"
292
run: |
293
+ set -Eeuxo pipefail
294
+ # cache the build only if we are not using subscription
295
+ if [[ ${{ inputs.subscription }} == "false" ]]; then
296
+ export CONTAINER_BUILD_CACHE_ARGS="--cache-from ${{ env.CACHE }} --cache-to ${{ env.CACHE }}"
297
+ fi
298
make ${{ inputs.target }}
299
if: "${{ fromJson(inputs.github).event_name == 'pull_request' ||
300
fromJson(inputs.github).event_name == 'pull_request_target' }}"
0 commit comments