Skip to content

branch

branch #207

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Main dev test

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 12, Col: 15): Unrecognized named-value: 'GITHUB_REF_NAME'. Located at position 1 within expression: GITHUB_REF_NAME
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