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 34ad3b02f8

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=$(echo "${{ gitea.ref }}" | cut -d'/' -f3)"
- name: Print
run: echo $BRANCH