deprived-main-website/.forgejo/workflows/testworkflow.yml
Sveske-Juice b5c4ecc049
Some checks failed
Test / test_service (push) Failing after 0s
get branch name
2025-05-04 19:11:08 +02:00

13 lines
258 B
YAML

name: Test
on: [push]
jobs:
test_service:
runs-on: native
steps:
- name: Get branch
run: nix-shell -p util-linux --command 'echo "BRANCH=$(${{ gitea.ref }} | rev | cut -d/ -f1 | rev)"'
- name: Print
run: echo $BRANCH