Skip to content

Commit e5ad647

Browse files
committed
use git
1 parent 9acab8d commit e5ad647

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/kibot.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ on:
1010
- LOG
1111
- LORA
1212
- POS
13-
paths:
14-
- '**.kicad_sch'
15-
- '**.kicad_pcb'
13+
# paths:
14+
# - '**.kicad_sch'
15+
# - '**.kicad_pcb'
1616

1717
jobs:
1818
kibot:
@@ -27,8 +27,10 @@ jobs:
2727
- name: Extract branch name
2828
if: github.event_name != 'pull_request'
2929
shell: bash
30-
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
31-
id: extract_branch
30+
# run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
31+
run: |
32+
echo "BRANCH_NAME=$(git name-rev --name-only HEAD)" >> $GITHUB_ENV
33+
echo $BRANCH_NAME
3234
3335
# Start of the KiBot steps
3436
- name: Run KiBot
@@ -40,4 +42,4 @@ jobs:
4042
uses: actions/upload-artifact@v4
4143
with:
4244
name: ProMicro_$BRANCH_NAME
43-
path: $BRANCH_NAME/*
45+
path: ${{ env.BRANCH_NAME }}

0 commit comments

Comments
 (0)