-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1.19 KB
/
pack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build pack
on:
workflow_dispatch:
push:
tags:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pack:
name: Generate pack
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Build pack
id: build_cmsis_pack
uses: Open-CMSIS-Pack/gen-pack-action@main
with:
doxygen-version: 1.9.6
packchk-version: 1.3.98
gen-pack-script: ./gen_pack.sh
gen-pack-output: ./output
- name: Upload release asset
id: upload-release-asset
uses: AButler/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: "./output/*.pack;EdgeImpulse.EI-SDK.pdsc"
release-id: ${{ steps.create_release.outputs.id}}