Skip to content

chore: Download assets using gh release download #48

chore: Download assets using gh release download

chore: Download assets using gh release download #48

Workflow file for this run

name: Test
on: push
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [v0.3.8, v0.3.9, latest]
steps:
- uses: actions/checkout@v4
- uses: ./
id: action
with:
version: ${{ matrix.version }}
- name: Check output
shell: bash
env:
VERSION: ${{ steps.action.outputs.version }}
run: |
if [[ -n "$VERSION" ]]; then
echo Got version output: "$VERSION"
else
echo Version output was empty
exit 1
fi
- name: Binary exists
shell: bash
run: command -v yampl
- name: Binary runs
shell: bash
run: yampl --version