Skip to content

Commit ef95073

Browse files
kaklikgithub-actions[bot]
authored andcommitted
Update workflow files
1 parent 5c91b3f commit ef95073

4 files changed

Lines changed: 55 additions & 242 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hw/cam_profi/* merge=theirs
2+
doc/gen/* merge=theirs
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Assets
2+
3+
permissions: write-all
4+
5+
on:
6+
release:
7+
types: [edited, prereleased, released]
8+
9+
jobs:
10+
upload-gerber-assets:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
17+
- name: Set up variables
18+
run: |
19+
REPO_NAME=$(basename -s .git `git config --get remote.origin.url`)
20+
COMMIT_SHA=$(git rev-parse --short HEAD)
21+
ZIP_NAME="${REPO_NAME}-${COMMIT_SHA}.gerber.zip"
22+
echo "ZIP_NAME=$ZIP_NAME" >> $GITHUB_ENV
23+
24+
- name: Create ZIP archive of Gerber files
25+
run: |
26+
zip -j ${{ env.ZIP_NAME }} hw/cam_profi/gbr/*
27+
28+
- name: Upload ZIP as release asset
29+
uses: actions/upload-release-asset@v1
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
with:
33+
upload_url: ${{ github.event.release.upload_url }}
34+
asset_path: ${{ env.ZIP_NAME }}
35+
asset_name: ${{ env.ZIP_NAME }}
36+
asset_content_type: application/zip

.gitignore

Lines changed: 16 additions & 241 deletions
Original file line numberDiff line numberDiff line change
@@ -1,247 +1,22 @@
1-
doc/gen/*
2-
hw/cam_profi/*
3-
*-backups
4-
5-
# For PCBs designed using KiCad: http://www.kicad-pcb.org/
61

7-
# Temporary files
2+
*-backups
3+
*-save.kicad_pcb
4+
*-save.pro
85
*.000
96
*.bak
107
*.bck
8+
*.dsn
119
*.kicad_pcb-bak
12-
*~
13-
*_autosave-*
10+
*.kicad_prl
11+
*.kicad_sch-bak
12+
*.lck
13+
*.orig
14+
*.sch-bak
15+
*.ses
1416
*.tmp
15-
*-backups
16-
17-
# Netlist files (exported from Eeschema)
18-
#*.net
19-
20-
# Autorouter files (exported from Pcbnew)
21-
.dsn
22-
23-
# Exported BOM files
24-
#*.xml
25-
#*.csv
26-
27-
## Core latex/pdflatex auxiliary files:
28-
*.aux
29-
*.lof
30-
*.log
31-
*.lot
32-
*.fls
33-
*.out
34-
*.toc
35-
*.fmt
36-
*.fot
37-
*.cb
38-
*.cb2
39-
40-
## Intermediate documents:
41-
*.dvi
42-
*-converted-to.*
43-
# these rules might exclude image files for figures etc.
44-
# *.ps
45-
# *.eps
46-
# *.pdf
47-
48-
## Generated if empty string is given at "Please type another file name for output:"
49-
.pdf
50-
51-
## Bibliography auxiliary files (bibtex/biblatex/biber):
52-
*.bbl
53-
*.bcf
54-
*.blg
55-
*-blx.aux
56-
*-blx.bib
57-
*.brf
58-
*.run.xml
59-
60-
## Build tool auxiliary files:
61-
*.fdb_latexmk
62-
*.synctex
63-
*.synctex(busy)
64-
*.synctex.gz
65-
*.synctex.gz(busy)
66-
*.pdfsync
67-
68-
## Auxiliary and intermediate files from other packages:
69-
# algorithms
70-
*.alg
71-
*.loa
72-
73-
# achemso
74-
acs-*.bib
75-
76-
# amsthm
77-
*.thm
78-
79-
# beamer
80-
*.nav
81-
*.pre
82-
*.snm
83-
*.vrb
84-
85-
# changes
86-
*.soc
87-
88-
# cprotect
89-
*.cpt
90-
91-
# elsarticle (documentclass of Elsevier journals)
92-
*.spl
93-
94-
# endnotes
95-
*.ent
96-
97-
# fixme
98-
*.lox
99-
100-
# feynmf/feynmp
101-
*.mf
102-
*.mp
103-
*.t[1-9]
104-
*.t[1-9][0-9]
105-
*.tfm
106-
*.[1-9]
107-
*.[1-9][0-9]
108-
109-
#(r)(e)ledmac/(r)(e)ledpar
110-
*.end
111-
*.?end
112-
*.[1-9]
113-
*.[1-9][0-9]
114-
*.[1-9][0-9][0-9]
115-
*.[1-9]R
116-
*.[1-9][0-9]R
117-
*.[1-9][0-9][0-9]R
118-
*.eledsec[1-9]
119-
*.eledsec[1-9]R
120-
*.eledsec[1-9][0-9]
121-
*.eledsec[1-9][0-9]R
122-
*.eledsec[1-9][0-9][0-9]
123-
*.eledsec[1-9][0-9][0-9]R
124-
125-
# glossaries
126-
*.acn
127-
*.acr
128-
*.glg
129-
*.glo
130-
*.gls
131-
*.glsdefs
132-
133-
# gnuplottex
134-
*-gnuplottex-*
135-
136-
# gregoriotex
137-
*.gaux
138-
*.gtex
139-
140-
# hyperref
141-
*.brf
142-
143-
# knitr
144-
*-concordance.tex
145-
# TODO Comment the next line if you want to keep your tikz graphics files
146-
*.tikz
147-
*-tikzDictionary
148-
149-
# listings
150-
*.lol
151-
152-
# makeidx
153-
*.idx
154-
*.ilg
155-
*.ind
156-
*.ist
157-
158-
# minitoc
159-
*.maf
160-
*.mlf
161-
*.mlt
162-
*.mtc[0-9]*
163-
164-
# minted
165-
_minted*
166-
*.pyg
167-
168-
# morewrites
169-
*.mw
170-
171-
# mylatexformat
172-
*.fmt
173-
174-
# nomencl
175-
*.nlo
176-
177-
# pax
178-
*.pax
179-
180-
# sagetex
181-
*.sagetex.sage
182-
*.sagetex.py
183-
*.sagetex.scmd
184-
185-
# scrwfile
186-
*.wrt
187-
188-
# sympy
189-
*.sout
190-
*.sympy
191-
sympy-plots-for-*.tex/
192-
193-
# pdfcomment
194-
*.upa
195-
*.upb
196-
197-
# pythontex
198-
*.pytxcode
199-
pythontex-files-*/
200-
201-
# thmtools
202-
*.loe
203-
204-
# TikZ & PGF
205-
*.dpth
206-
*.md5
207-
*.auxlock
208-
209-
# todonotes
210-
*.tdo
211-
212-
# easy-todo
213-
*.lod
214-
215-
# xindy
216-
*.xdy
217-
218-
# xypic precompiled matrices
219-
*.xyc
220-
221-
# endfloat
222-
*.ttt
223-
*.fff
224-
225-
# Latexian
226-
TSWLatexianTemp*
227-
228-
## Editors:
229-
# WinEdt
230-
*.bak
231-
*.sav
232-
233-
# Texpad
234-
.texpadtmp
235-
236-
# Kile
237-
*.backup
238-
239-
# KBibTeX
240-
*~[0-9]*
241-
242-
# auto folder when using emacs and auctex
243-
/auto/*
244-
245-
# expex forward references with \gathertags
246-
*-tags.tex
247-
17+
*auto_saved_files#
18+
*backup*
19+
*fp-info-cache
20+
*~
21+
_autosave-*
22+
fp-info-cache

0 commit comments

Comments
 (0)