File tree Expand file tree Collapse file tree 1 file changed +7
-35
lines changed Expand file tree Collapse file tree 1 file changed +7
-35
lines changed Original file line number Diff line number Diff line change 1
- name : XMC-for-Arduino Release Automation
1
+ name : Release
2
2
3
3
on :
4
- release :
5
- types : published
6
4
push :
7
- tags :
8
- - ' v*.*.*'
9
- - ' V*.*.*'
5
+
10
6
jobs :
11
- release :
12
- runs-on : ubuntu-latest
13
- if : startsWith(github.ref, 'refs/tags/V')
14
- steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-python@v4
17
- with :
18
- python-version : ' 3.x'
19
- - run : pip install requests
20
-
21
- - name : Build release changelog
22
- id : build_changelog
23
- uses : mikepenz/release-changelog-builder-action@v3
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
-
27
- - name : Build release assets
28
- run : |
29
- cd .github/scripts
30
- python release.py build-release ${{ github.repository }} ${{ github.ref_name }}
31
-
32
- - name : Upload assets
33
- uses : softprops/action-gh-release@v1
34
- with :
35
- name : XMC-for-Arduino ${{ github.ref_name }}
36
- files : |
37
- pkg_build/*.zip
38
- pkg_build/package_infineon_index.json
39
- body : ${{steps.build_changelog.outputs.changelog}}
7
+ arduino-devops :
8
+ uses : Infineon/arduino-devops/.github/workflows/release.yml@latest
9
+ with :
10
+ release-title : XMC-for-Arduino
11
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments