rewrite using tools-cache (#25) #247
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main dev test | |
on: [push] | |
jobs: | |
maindevtest: | |
# runs-on: ubuntu-latest | |
runs-on: windows-latest | |
steps: | |
- name: Setup Babashka | |
id: setup-babashka | |
uses: turtlequeue/setup-babashka@main | |
with: | |
babashka-version: 1.3.189 | |
- name: Check bb runs | |
run: bb --version | |
- name: Test Cache | |
run: | | |
if [ -z "${{ steps.setup-babashka.outputs.cache-hit }}" ]; then | |
echo "Cache-hit output not set in first run. Failing the job." | |
exit 1 | |
fi | |
shell: bash |