File tree Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 5
5
" -v" ,
6
6
" /var/run/docker.sock:/var/run/docker.sock"
7
7
],
8
- "postCreateCommand" : " curl -sL https://raw.githubusercontent.com/nektos/act/master/install .sh | bash -s -- -b /usr/local/bin " ,
8
+ "postCreateCommand" : " bash ./.devcontainer/post-create .sh" ,
9
9
"customizations" : {
10
10
"vscode" : {
11
11
"extensions" : [
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Install act
3
+ curl -sL https://raw.githubusercontent.com/nektos/act/master/install.sh | bash -s -- -b /usr/local/bin
4
+
5
+ # Configure and install ESPHome
6
+ pip config set global.break-system-packages true
7
+ pip install --upgrade pip
8
+ pip install esphome
Original file line number Diff line number Diff line change @@ -2,19 +2,21 @@ name: Release
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
7
- - develop
5
+ paths :
6
+ - ' **.kicad_sch '
7
+ - ' **.kicad_pcb '
8
8
pull_request :
9
- branches :
10
- - main
11
- - develop
9
+ paths :
10
+ - ' **.kicad_sch '
11
+ - ' **.kicad_pcb '
12
12
13
13
jobs :
14
14
release :
15
15
runs-on : ubuntu-latest
16
- permissions :
17
- contents : write
16
+ container :
17
+ image : ghcr.io/inti-cmnb/kicad9_auto_full:latest
18
+ # permissions:
19
+ # contents: write
18
20
steps :
19
21
- name : Checkout
20
22
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1
- # This example uses a custom TMC2209 component to control the PD Stepper
2
- # Motor can be moved using a slider within ESPHome
3
1
4
2
external_components :
5
3
- source : github://slimcdk/esphome-custom-components
You can’t perform that action at this time.
0 commit comments