get branch name
Some checks failed
Test / test_service (push) Failing after 0s

This commit is contained in:
Sveske-Juice 2025-05-04 18:23:32 +02:00
parent c90e8555da
commit b5c4ecc049

View file

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