-
Notifications
You must be signed in to change notification settings - Fork 12
56 lines (54 loc) · 1.28 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- '**/CHANGES.txt'
- '**/img/*'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- '**/CHANGES.txt'
- '**/img/*'
workflow_dispatch:
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- '**/CHANGES.txt'
- '**/img/*'
env:
DOCKER_USER_OPTION: '$UID:$GID'
name: Build
jobs:
generate:
runs-on: ubuntu-latest
name: Generate
steps:
- name: Checkout
uses: actions/checkout@v3.5.2
- uses: xanantis/docker-file-ownership-fix@v1
- name: Run build script
run: |
chmod +x build.sh
./build.sh
shell: bash
- name: Persist PCB gerbers
uses: actions/upload-artifact@v3.1.2
with:
name: One_pcb_gerbers
path: gerbers/pcb
- name: Persist case gerbers
uses: actions/upload-artifact@v3.1.2
with:
name: One_case_gerbers
path: gerbers/case
- name: Persist images
uses: actions/upload-artifact@v3.1.2
with:
name: One_images
path: images