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:
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
20252126 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
32433344 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
You can’t perform that action at this time.
0 commit comments