Skip to content

Test

Test #9

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
schedule:
# every other day at 06:00 UTC (odd days of the month)
- cron: '0 6 */2 * *'
workflow_dispatch:
permissions:
contents: read
jobs:
hello-world:
name: hello-world (${{ matrix.runner }}, ${{ matrix.channel }})
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest, ubuntu-24.04-arm]
channel: [stable, unstable, nightly]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v7
- name: Run hello-world task
id: run-task
uses: ./
with:
channel: ${{ matrix.channel }}
task: hello-world
- name: Verify version output
env:
VERSION: ${{ steps.run-task.outputs.version }}
run: |
echo "Resolved version: $VERSION"
if [ -z "$VERSION" ]; then
echo "::error::action did not set the 'version' output"
exit 1
fi