mirror of
https://github.com/R2Northstar/Northstar
synced 2025-09-21 00:50:50 +02:00
Compare commits
1 Commits
v1.20.1-rc
...
build/use-
Author | SHA1 | Date | |
---|---|---|---|
![]() |
956839c4e2 |
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@@ -57,17 +57,15 @@ jobs:
|
|||||||
git ls-tree -r $NORTHSTAR_VERSION --name-only | xargs -L1 md5sum >> md5sum.txt
|
git ls-tree -r $NORTHSTAR_VERSION --name-only | xargs -L1 md5sum >> md5sum.txt
|
||||||
- name: Make folder structure
|
- name: Make folder structure
|
||||||
run: |
|
run: |
|
||||||
mv -v northstar/release/* northstar/.
|
mkdir -p northstar/release/R2Northstar/mods
|
||||||
rm -d northstar/release
|
mkdir -p northstar/release/R2Northstar/plugins
|
||||||
mkdir -p northstar/R2Northstar/mods
|
mkdir -p northstar/release/bin/x64_dedi
|
||||||
mkdir -p northstar/R2Northstar/plugins
|
|
||||||
mkdir -p northstar/bin/x64_dedi
|
|
||||||
|
|
||||||
unzip northstar-discord-rpc.zip -d northstar/R2Northstar/plugins
|
unzip northstar-discord-rpc.zip -d northstar/release/R2Northstar/plugins
|
||||||
|
|
||||||
unzip NorthstarStubs.zip -d northstar/bin/x64_dedi
|
unzip NorthstarStubs.zip -d northstar/release/bin/x64_dedi
|
||||||
unzip northstar-launcher.zip -d northstar
|
unzip northstar-launcher.zip -d northstar
|
||||||
rsync -avr --exclude="Northstar.Coop" --exclude=".git*" northstar-mods/. northstar/R2Northstar/mods
|
rsync -avr --exclude="Northstar.Coop" --exclude=".git*" northstar-mods/. northstar/release/R2Northstar/mods
|
||||||
- name: Checkout Navmesh repository
|
- name: Checkout Navmesh repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -76,9 +74,9 @@ jobs:
|
|||||||
path: northstar-navs
|
path: northstar-navs
|
||||||
- name: Navmeshes setup
|
- name: Navmeshes setup
|
||||||
run: |
|
run: |
|
||||||
mkdir -p northstar/R2Northstar/mods/Northstar.CustomServers/mod/maps
|
mkdir -p northstar/release/R2Northstar/mods/Northstar.CustomServers/mod/maps
|
||||||
mv -v northstar-navs/graphs northstar/R2Northstar/mods/Northstar.CustomServers/mod/maps
|
mv -v northstar-navs/graphs northstar/release/R2Northstar/mods/Northstar.CustomServers/mod/maps
|
||||||
mv -v northstar-navs/navmesh northstar/R2Northstar/mods/Northstar.CustomServers/mod/maps
|
mv -v northstar-navs/navmesh northstar/release/R2Northstar/mods/Northstar.CustomServers/mod/maps
|
||||||
- name: Cleanup root Northstar repository files
|
- name: Cleanup root Northstar repository files
|
||||||
working-directory: northstar
|
working-directory: northstar
|
||||||
run: |
|
run: |
|
||||||
@@ -90,7 +88,7 @@ jobs:
|
|||||||
path: northstar
|
path: northstar
|
||||||
- name: Create zip to upload
|
- name: Create zip to upload
|
||||||
run: |
|
run: |
|
||||||
cd northstar/
|
cd northstar/release/
|
||||||
zip --recurse-paths --quiet Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip .
|
zip --recurse-paths --quiet Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip .
|
||||||
mv Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip ../
|
mv Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip ../
|
||||||
- name: Compute SHA-512 checksum
|
- name: Compute SHA-512 checksum
|
||||||
@@ -142,7 +140,7 @@ jobs:
|
|||||||
- name: Make package structure
|
- name: Make package structure
|
||||||
run: |
|
run: |
|
||||||
mkdir -p thunderstore/dist/Northstar
|
mkdir -p thunderstore/dist/Northstar
|
||||||
mv -v northstar/* thunderstore/dist/Northstar
|
mv -v northstar/release/* thunderstore/dist/Northstar
|
||||||
wget -O thunderstore/icon.png https://raw.githubusercontent.com/R2Northstar/Northstar/main/thunderstore/icon.png
|
wget -O thunderstore/icon.png https://raw.githubusercontent.com/R2Northstar/Northstar/main/thunderstore/icon.png
|
||||||
wget -O thunderstore/README.md https://raw.githubusercontent.com/R2Northstar/Northstar/main/thunderstore/README.md
|
wget -O thunderstore/README.md https://raw.githubusercontent.com/R2Northstar/Northstar/main/thunderstore/README.md
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user