updated pdsc #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build pack | |
on: | |
workflow_dispatch: | |
pull_request: | |
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@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch tags | |
run: | | |
git fetch --tags --force | |
- 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: List file | |
run: ls -l ./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}} |