File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,33 @@ jobs:
16
16
- uses : actions/checkout@v4
17
17
- name : Build release
18
18
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/
19
24
- name : Upload artifact
20
25
21
26
with :
22
27
name : OpenFusionMap-linux
23
- path : target/release/openfusionmap
28
+ path : dist/
24
29
if-no-files-found : error
25
30
build-windows :
26
31
runs-on : windows-latest
27
32
steps :
28
33
- uses : actions/checkout@v4
29
34
- name : Build
30
35
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
31
42
- name : Upload artifact
32
43
33
44
with :
34
45
name : OpenFusionMap-windows
35
- path : |
36
- target/release/openfusionmap.exe
37
- target/release/openfusionmap.pdb
46
+ path : dist/
38
47
if-no-files-found : error
39
48
You can’t perform that action at this time.
0 commit comments