File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 10
10
- LOG
11
11
- LORA
12
12
- POS
13
- paths :
14
- - ' **.kicad_sch'
15
- - ' **.kicad_pcb'
13
+ # paths:
14
+ # - '**.kicad_sch'
15
+ # - '**.kicad_pcb'
16
16
17
17
jobs :
18
18
kibot :
@@ -21,14 +21,13 @@ jobs:
21
21
22
22
steps :
23
23
- name : Checkout repo
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@v4
25
25
26
- # extract branch name
26
+ # # extract branch name
27
27
- name : Extract branch name
28
- if : github.event_name != 'pull_request'
29
- shell : bash
30
- run : echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
31
- id : extract_branch
28
+ run : |
29
+ echo "BRANCH_NAME=$(git name-rev --name-only HEAD)" >> $GITHUB_ENV
30
+ echo $BRANCH_NAME
32
31
33
32
# Start of the KiBot steps
34
33
- name : Run KiBot
40
39
uses : actions/upload-artifact@v4
41
40
with :
42
41
name : ProMicro_$BRANCH_NAME
43
- path : $BRANCH_NAME/*
42
+ path : ${{ env. BRANCH_NAME }}
You can’t perform that action at this time.
0 commit comments