Skip to content

test cache

test cache #203

Workflow file for this run

name: Main dev test
on: [push]
jobs:
simple:
# runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- name: Setup Babashka
uses: turtlequeue/setup-babashka@main
with:
babashka-version: 1.3.188
- name: Check bb runs
run: bb --version
- name: Test Cache
run: |
if [ -z "${{ steps.setup-babashka-1.outputs.cache-hit }}" ]; then
echo "Cache-hit output not set in first run. Failing the job."
exit 1
elif [ "${{ steps.setup-babashka-2.outputs.cache-hit }}" != "true" ]; then
echo "Cache not used in the second run. Failing the job."
exit 1
fi
shell: bash