This commit is contained in:
parent
c90e8555da
commit
12a087eb2b
1 changed files with 5 additions and 7 deletions
|
@ -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: echo "BRANCH=$(echo "${{ gitea.ref }}" | awk -F'/' '{print $NF}')"
|
||||||
echo "Hellooo"
|
- name: Print
|
||||||
|
run: echo $BRANCH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue