Skip to content

back to bool

back to bool #4

name: 'Test Devbox Cache'
on:
push:
branches:
- '227-cicd-cache-devbox-install-to-speed-up-deployment'
env:
PROJECT_ID: 'benefit-decision-toolkit-play'
REGION: 'us-central1'
SERVICE: 'benefit-decision-toolkit-play'
API_NAME: 'library-api'
WORKLOAD_IDENTITY_PROVIDER: 'projects/1034049717668/locations/global/workloadIdentityPools/github-actions-google-cloud/providers/github'
jobs:
test-devbox-cache:
runs-on: 'ubuntu-latest'
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
# Devbox needs a .env file to exist, even if it's empty
- name: 'Create .env file'
run: touch .env
# Setup devbox which includes all our dependencies: Maven, JDK 21, Quarkus, etc.
- name: 'Install devbox'
uses: 'jetify-com/[email protected]'
# test with boolean instead of string... expect no cache hit
with:
enable-cache: true