branch #207
Workflow file for this run
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: | ||
simple: | ||
# runs-on: ubuntu-latest | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 #for the dynamic github ref | ||
- name: Setup Babashka | ||
uses: turtlequeue/setup-babashka@${{GITHUB_REF_NAME}} | ||
Check failure on line 12 in .github/workflows/main.yml
|
||
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 |