Skip to content

Commit

Permalink
KiCad PCM Support (#102)
Browse files Browse the repository at this point in the history
* Rename and move the files to match the addons structure

* Adding Python script to simplify the kicad addon release

* Adding icon and clean up package.py script

* Create release-kicad-addons.md

* Added the GH Action on pre-release and added version as argument on package.py

* Added the PCM install guide with screenshot on the README file

* Changed KICAD6_3RD_PARTY to KICAD7_3RD_PARTY

* Minor update on README.md

---------

Co-authored-by: Philipp Donabauer <philipp.do1@web.de>
Co-authored-by: pedro.minatel <pedro.minatel@espressif.com>
  • Loading branch information
3 people authored Jun 5, 2023
1 parent e10a019 commit 7c65e1a
Show file tree
Hide file tree
Showing 56 changed files with 321 additions and 237 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Library Release PCM

on:
release:
types:
- created

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Get Tag Name
uses: olegtarasov/get-tag@v2.1.2
id: tagName

- name: Create the PCM package
run: |
echo "Release tag $GIT_TAG_NAME"
python3 package.py $GIT_TAG_NAME
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/espressif-kicad-addon.zip
asset_name: espressif-kicad-addon.zip
asset_content_type: application/zip
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ fp-info-cache

# Exported BOM files
*.xml
*.csv
*.csv

# PCM build files
build
espressif-kicad-addon.zip
Loading

0 comments on commit 7c65e1a

Please sign in to comment.