Skip to content

Commit e27431d

Browse files
committed
Fix build scripts
1 parent 2c301c4 commit e27431d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/actions/build/action.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ runs:
1919
target
2020
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
2121
- name: Build
22-
shell: bash
2322
run: cargo build --release
23+
- name: Copy config
24+
run: |
25+
cp huly-coder.yaml target/release/huly-coder.yaml
2426
- name: Upload artifact
2527
uses: actions/upload-artifact@v4
2628
with:
2729
name: huly-coder-${{inputs.os}}
28-
path: target/release/huly-coder
29-
- name: Upload Config
30-
uses: actions/upload-artifact@v4
31-
with:
32-
name: huly-coder-${{inputs.os}}
33-
path: huly-coder.yaml
30+
if-no-files-found: ignore
31+
path: |
32+
target/release/huly-coder
33+
target/release/huly-coder.exe
34+
target/release/huly-coder.yaml

0 commit comments

Comments
 (0)