-
Notifications
You must be signed in to change notification settings - Fork 0
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
88f0e56
commit e42ee69
Showing
4 changed files
with
52 additions
and
3 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 |
---|---|---|
|
@@ -97,10 +97,19 @@ jobs: | |
id: render_template | ||
uses: chuhlomin/render-template@v1 | ||
with: | ||
template: action.template.yml | ||
template: templates/action.template.yml | ||
result_path: action.yml | ||
vars: | | ||
image: docker://ghcr.io/${{ env.REPOSITORY_LC }}:${{ needs.version.outputs.version }} | ||
- name: Update README.md | ||
uses: recih/[email protected] | ||
env: | ||
ACTION_REPO: ${{ github.repository }} | ||
ACTION_VERSION: ${{ needs.version.outputs.version }} | ||
with: | ||
template-file: templates/README.template.md | ||
output-file: README.md | ||
engine: mustache | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
id: auto-commit | ||
release-main: | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
id: render_template | ||
uses: chuhlomin/render-template@v1 | ||
with: | ||
template: action.template.yml | ||
template: templates/action.template.yml | ||
result_path: action.yml | ||
vars: | | ||
image: Dockerfile | ||
|
@@ -32,4 +32,20 @@ jobs: | |
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-gerber | ||
path: out/ | ||
path: out/ | ||
test-readme-generation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Update README.md | ||
uses: recih/[email protected] | ||
env: | ||
ACTION_REPO: ${{ github.repository }} | ||
ACTION_VERSION: v1.0.0 | ||
with: | ||
template-file: templates/README.template.md | ||
output-file: README.md | ||
engine: mustache | ||
- name: Cat | ||
run: cat README.md |
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,24 @@ | ||
# kicad-gerber Action | ||
|
||
Generates gerber & drill files for a specified PCB and places them in a specified directory | ||
|
||
## Inputs | ||
|
||
### `input-file` | ||
|
||
**Required** The PCB to process | ||
|
||
### `output-directory` | ||
|
||
The directory in which to place the gerber & drill files. Default "gerber". | ||
|
||
### `position-format` | ||
|
||
The position format to use. Options are gerber, csv, ascii, and none. Default "none". | ||
|
||
## Example usage | ||
``` | ||
uses: {{{ ACTION_REPO }}}@{{{ ACTION_VERSION }}} | ||
with: | ||
input-file: pcb.kicad_pcb | ||
``` |
File renamed without changes.