forked from mlab-modules/ISM02
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cd1653
commit 3341d9c
Showing
3 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Release Assets | ||
|
||
permissions: write-all | ||
|
||
on: | ||
release: | ||
types: [edited, prereleased, released] | ||
|
||
jobs: | ||
upload-gerber-assets: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up variables | ||
run: | | ||
REPO_NAME=$(basename -s .git `git config --get remote.origin.url`) | ||
COMMIT_SHA=$(git rev-parse --short HEAD) | ||
ZIP_NAME="${REPO_NAME}-${COMMIT_SHA}.gerber.zip" | ||
echo "ZIP_NAME=$ZIP_NAME" >> $GITHUB_ENV | ||
- name: Create ZIP archive of Gerber files | ||
run: | | ||
zip -j ${{ env.ZIP_NAME }} hw/cam_profi/gbr/* | ||
- name: Upload ZIP as release asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ${{ env.ZIP_NAME }} | ||
asset_name: ${{ env.ZIP_NAME }} | ||
asset_content_type: application/zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
|
||
*~ | ||
_autosave-* | ||
*auto_saved_files# | ||
*backup* | ||
*-backups | ||
*-save.kicad_pcb | ||
*-save.pro | ||
*.000 | ||
*.bak | ||
*.bck | ||
*.dsn | ||
*fp-info-cache | ||
fp-info-cache | ||
*.kicad_pcb-bak | ||
*.kicad_prl | ||
*.kicad_sch-bak | ||
*.lck | ||
*.orig | ||
*.sch-bak | ||
*-save.kicad_pcb | ||
*-save.pro | ||
*.ses | ||
*.sch-bak | ||
*.tmp | ||
*auto_saved_files# | ||
*backup* | ||
*fp-info-cache | ||
*~ | ||
_autosave-* | ||
fp-info-cache | ||
*.000 |
Submodule assets
updated
from 935da5 to eb90d9