get branch name
All checks were successful
Test / test_service (push) Successful in 0s

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

View file

@ -1,15 +1,13 @@
name: Test
on:
push:
branches:
- main
on: [push]
jobs:
test_service:
runs-on: native
steps:
- name: Print stuff
run: |
echo "Hellooo"
- name: Get branch
run: echo "BRANCH=$(${${{ gitea.ref }}##*/})"
- name: Print
run: echo $BRANCH