We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5c9ca commit 62affa6Copy full SHA for 62affa6
.github/workflows/kicad-release.yml
@@ -13,8 +13,10 @@ jobs:
13
- name: Checkout code
14
uses: actions/checkout@v2
15
- name: Set version number # Replace [Uncontrolled] with actual tag
16
+ env:
17
+ GITHUB_REF: ${{ github.ref }}
18
run: |
- sed -i "s~\[Uncontrolled\]~${{ github.ref }}~g" Kicad/*.sch Kicad/*.kicad_pcb
19
+ sed -i "s~\[Uncontrolled\]~${GITHUB_REF/#refs\/tags\/}~g" Kicad/*.sch Kicad/*.kicad_pcb
20
- name: Build project # This would actually build your project, using zip for an example artifact
21
uses: nerdyscout/[email protected]
22
with:
0 commit comments