Skip to content

Commit 80a285b

Browse files
Include client dierctory in CI builds
1 parent c1adc31 commit 80a285b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,33 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- name: Build release
1818
run: cargo build --release --verbose
19+
- name: Prepare artifact
20+
run: |
21+
mkdir dist
22+
cp target/release/openfusionmap dist/
23+
cp -r client dist/
1924
- name: Upload artifact
2025
uses: actions/[email protected]
2126
with:
2227
name: OpenFusionMap-linux
23-
path: target/release/openfusionmap
28+
path: dist/
2429
if-no-files-found: error
2530
build-windows:
2631
runs-on: windows-latest
2732
steps:
2833
- uses: actions/checkout@v4
2934
- name: Build
3035
run: cargo build --release --verbose
36+
- name: Prepare artifact
37+
run: |
38+
mkdir dist
39+
Copy-Item .\target\release\openfusionmap.exe .\dist\
40+
Copy-Item .\target\release\openfusionmap.pdb .\dist\
41+
Copy-Item .\client\ .\dist\ -Recurse
3142
- name: Upload artifact
3243
uses: actions/[email protected]
3344
with:
3445
name: OpenFusionMap-windows
35-
path: |
36-
target/release/openfusionmap.exe
37-
target/release/openfusionmap.pdb
46+
path: dist/
3847
if-no-files-found: error
3948

0 commit comments

Comments
 (0)