File tree 7 files changed +46
-4
lines changed
mod-scrollmap-render-all-ships
7 files changed +46
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Nightly Build
2
+ on :
3
+ push :
4
+ pull_request :
5
+ jobs :
6
+ build :
7
+ runs-on : windows-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - run : rustup target add i686-pc-windows-msvc
11
+ - run : cargo build
12
+ - run : Compress-Archive -Path ./target/i686-pc-windows-msvc/debug -DestinationPath release.zip
13
+ - uses : actions/upload-artifact@v4
14
+ with :
15
+ path : |
16
+ target/i686-pc-windows-msvc/debug/*.dll
17
+ target/i686-pc-windows-msvc/debug/*.exe
Original file line number Diff line number Diff line change
1
+ name : Release Build
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : windows-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - run : rustup target add i686-pc-windows-msvc
13
+ - run : rustup target add i686-pc-windows-msvc
14
+ - run : cargo build --release
15
+ - run : |
16
+ mkdir mods
17
+ mv target/i686-pc-windows-msvc/release/scrollmap_render_all_ships.dll ./mods/
18
+ mkdir files
19
+ mv target/i686-pc-windows-msvc/release/aimcli.exe ./files
20
+ mv target/i686-pc-windows-msvc/release/cprcli.exe ./files
21
+ mv target/i686-pc-windows-msvc/release/roucli.exe ./files
22
+ Compress-Archive -Path ./mods -DestinationPath ./mods.zip
23
+ gh release upload ${{ github.ref_name }} ./mods.zip ./files/*
24
+ env:
25
+ GITHUB_TOKEN: ${{ github.TOKEN }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resolver = "2"
4
4
members = [
5
5
" aimcli" ,
6
6
" cprcli" ,
7
- " mod-render-all-ships" ,
7
+ " mod-scrollmap- render-all-ships" ,
8
8
# "p3-agent",
9
9
" p3-agent-loader" ,
10
10
" p3-aim" ,
Original file line number Diff line number Diff line change 1
1
[package ]
2
- name = " mod-render-all-ships"
2
+ name = " mod-scrollmap- render-all-ships"
3
3
version = " 0.1.0"
4
4
edition = " 2021"
5
5
6
6
[lib ]
7
7
crate-type = [" cdylib" ]
8
- name =" render_all_ships "
8
+ name =" scrollmap_render_all_ships "
9
9
10
10
[dependencies ]
11
11
p3-api = { path = " ../p3-api" }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version = "0.1.0"
4
4
edition = " 2021"
5
5
6
6
[[bin ]]
7
- name = " cli "
7
+ name = " roucli "
8
8
path = " src/cli.rs"
9
9
10
10
[dependencies ]
You can’t perform that action at this time.
0 commit comments