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 ea721d0 commit 0b1860cCopy full SHA for 0b1860c
.github/workflows/build.yml
@@ -1,5 +1,8 @@
1
+name: Build
2
+
3
on:
4
- push
5
+ - workflow_call
6
7
jobs:
8
build:
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
+name: Build and Publish
+on:
+ push:
+ tags:
+ - v*
+jobs:
9
+ call-build:
10
+ uses: ./.github/workflows/build.yml
11
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/download-artifact@v4
16
+ with:
17
+ name: pru_ledpwm
18
19
+ - name: Publish
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
+ tag: ${{ github.ref_name }}
23
+ run: |
24
+ gh release create "$tag" pru_ledpwm.* \
25
+ --repo="$GITHUB_REPOSITORY" \
26
+ --generate-notes
0 commit comments