Skip to content

Commit

Permalink
use git
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyscout committed Dec 26, 2024
1 parent 9acab8d commit f532bd1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ on:
- LOG
- LORA
- POS
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
# paths:
# - '**.kicad_sch'
# - '**.kicad_pcb'

jobs:
kibot:
Expand All @@ -27,8 +27,10 @@ jobs:
- name: Extract branch name
if: github.event_name != 'pull_request'
shell: bash
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
id: extract_branch
# run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
run: |
echo "BRANCH_NAME=$(git name-rev --name-only HEAD)" >> $GITHUB_ENV
echo $BRANCH_NAME
# Start of the KiBot steps
- name: Run KiBot
Expand All @@ -40,4 +42,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ProMicro_$BRANCH_NAME
path: $BRANCH_NAME/*
path: ${{ BRANCH_NAME }}

0 comments on commit f532bd1

Please sign in to comment.