continuwuity/.forgejo/workflows/test.yaml
2025-04-16 15:18:45 +01:00

19 lines
343 B
YAML

name: Test
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set env
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
- name: Test
if: false
run: echo $GITHUB_SHA_SHORT
- name: Test
if: ${{ 3 < 4 }}
run: echo $GITHUB_SHA_SHORT