File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,8 @@ tab_width = 4
1111
1212[* .yaml ]
1313indent_size = 2
14+ tab_width = 2
15+
16+ [* .yml ]
17+ indent_size = 2
1418tab_width = 2
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ name: build
22description : Build artifacts
33inputs :
44 os :
5- description : ' linux, windows or mac'
5+ description : " linux, windows or mac"
66 required : true
77 arch :
8- description : ' x64, aarch64'
8+ description : " x64, aarch64"
99 required : true
1010runs :
11- using : composite
11+ using : " composite"
1212 steps :
1313 - name : Cache
1414 uses : actions/cache@v4
@@ -18,16 +18,13 @@ runs:
1818 ~/.cargo/git
1919 target
2020 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
21- - name : Checkout
22- uses : actions/checkout@v4
23- with :
24- fetch-depth : 0
2521 - name : Build
22+ shell : bash
2623 run : cargo build --release
2724 - name : Upload artifact
2825 uses : actions/upload-artifact@v4
2926 with :
3027 name : huly-coder-${{inputs.os}}
31- path : /
28+ path : |
3229 target/release/huly-coder
33- huly-coder.yaml
30+ huly-coder.yaml
Original file line number Diff line number Diff line change 1414 name : Build on Linux
1515 runs-on : ubuntu-latest
1616 steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
1721 - uses : ./.github/actions/build
1822 with :
1923 os : linux
2226 name : Build on MacOS
2327 runs-on : macos-latest
2428 steps :
29+ - name : Checkout
30+ uses : actions/checkout@v4
31+ with :
32+ fetch-depth : 0
2533 - uses : ./.github/actions/build
2634 with :
2735 os : macos
3038 name : Build on Windows
3139 runs-on : windows-latest
3240 steps :
41+ - name : Checkout
42+ uses : actions/checkout@v4
43+ with :
44+ fetch-depth : 0
3345 - uses : ./.github/actions/build
3446 with :
3547 os : windows
You can’t perform that action at this time.
0 commit comments