1
mirror of https://github.com/R2Northstar/Northstar synced 2025-09-23 06:10:50 +02:00

Compare commits

...

6 Commits

Author SHA1 Message Date
GeckoEidechse
df9ff77e26 Use env var to define DiscordRPC version (#727)
to make editing the version number easier
2024-12-04 17:21:18 +01:00
GeckoEidechse
7ae04b0f32 Bump DiscordRPC plugin to v13 (#715)
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2024-11-11 13:15:08 +01:00
GeckoEidechse
4ac160313e Use long arg for tr command (#712)
as it's more readable and indicative what it does
2024-10-14 12:37:09 +02:00
GeckoEidechse
8f8dc0540a Bump DiscordRPC plugin to v12 (#704)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-09-07 22:42:07 +02:00
GeckoEidechse
b8aaa68473 Bump DiscordRPC plugin to v11 (#702)
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2024-09-07 03:13:56 +02:00
GeckoEidechse
8306655433 Exclude markdown files from Mods in releases (#700) 2024-09-03 17:29:46 +02:00

View File

@@ -15,6 +15,7 @@ permissions:
env: env:
NORTHSTAR_VERSION: ${{ github.ref_name }} NORTHSTAR_VERSION: ${{ github.ref_name }}
DISCORD_RPC_VERSION: v13
jobs: jobs:
build-northstar: build-northstar:
@@ -34,7 +35,7 @@ jobs:
wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip" wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip"
- name: Download DiscordRPC plugin - name: Download DiscordRPC plugin
run: run:
wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/v10/northstar-discord-rpc.zip" wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/${{ env.DISCORD_RPC_VERSION }}/northstar-discord-rpc.zip"
- name: Download compiled stubs - name: Download compiled stubs
run: run:
wget "https://github.com/R2Northstar/NorthstarStubs/releases/download/v1/NorthstarStubs.zip" wget "https://github.com/R2Northstar/NorthstarStubs/releases/download/v1/NorthstarStubs.zip"
@@ -46,7 +47,7 @@ jobs:
path: northstar-mods path: northstar-mods
- name: Update mod version info - name: Update mod version info
run: | run: |
export MOD_VERSION=$(echo $NORTHSTAR_VERSION | tr -d 'v') export MOD_VERSION=$(echo $NORTHSTAR_VERSION | tr --delete 'v')
cat <<< $(jq ".Version = \"${MOD_VERSION}\"" northstar-mods/Northstar.Client/mod.json) > northstar-mods/Northstar.Client/mod.json cat <<< $(jq ".Version = \"${MOD_VERSION}\"" northstar-mods/Northstar.Client/mod.json) > northstar-mods/Northstar.Client/mod.json
cat <<< $(jq ".Version = \"${MOD_VERSION}\"" northstar-mods/Northstar.Custom/mod.json) > northstar-mods/Northstar.Custom/mod.json cat <<< $(jq ".Version = \"${MOD_VERSION}\"" northstar-mods/Northstar.Custom/mod.json) > northstar-mods/Northstar.Custom/mod.json
cat <<< $(jq ".Version = \"${MOD_VERSION}\"" northstar-mods/Northstar.CustomServers/mod.json) > northstar-mods/Northstar.CustomServers/mod.json cat <<< $(jq ".Version = \"${MOD_VERSION}\"" northstar-mods/Northstar.CustomServers/mod.json) > northstar-mods/Northstar.CustomServers/mod.json
@@ -67,7 +68,7 @@ jobs:
unzip NorthstarStubs.zip -d northstar/bin/x64_dedi unzip NorthstarStubs.zip -d northstar/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*" --exclude="*.md" northstar-mods/. northstar/R2Northstar/mods
- name: Checkout Navmesh repository - name: Checkout Navmesh repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: