-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 1 KB
/
Copy pathsocketHolder.yml
File metadata and controls
38 lines (37 loc) · 1 KB
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
name: socketHolderBuilder
on: workflow_dispatch
jobs:
cableHolder:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
selectParm: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
steps:
- name: Setup
uses: actions/checkout@v3
- name: Build stl files
uses: eXpire163/openscad-actions@main
with:
scad_file: ./SocketHolder.scad
output_file: ${{format('./stls/SocketHolder{0}{1}',matrix.selectParm,'.stl')}}
options: ${{format('-D selectParm={0}',matrix.selectParm)}}
- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: ./stls
addCommiter:
runs-on: ubuntu-latest
needs: cableHolder
steps:
- name: Setup
uses: actions/checkout@v3
- name: artifactDownload
uses: actions/download-artifact@v3
with:
name: my-artifact
path: ./stls/
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "['./stls/*.stl']"