1
mirror of https://github.com/R2Northstar/Northstar synced 2025-09-16 14:10:48 +02:00

Compare commits

...

6 Commits

Author SHA1 Message Date
GeckoEidechse
86085f5c91 Bump CI runner to Ubuntu 22.04 (#627) 2024-02-18 22:16:46 +01:00
GeckoEidechse
ad3601c607 Bump actions/checkout to v4 (#625)
v3 uses Node 16 which is slated for deprecation by GitHub Actions
2024-02-06 16:39:25 +01:00
GeckoEidechse
904e6b00ef Bump DiscordRPC to v9 (#622)
Bumps DiscordRPC to match Plugin Interfaces / Plugins v4.
2024-02-04 03:37:37 +01:00
GeckoEidechse
4c0f02ba4f Escape backticks in run command (#617)
otherwise bash thinks we're trying to run the command "`"
2024-01-13 17:56:36 +01:00
GeckoEidechse
06f551ef71 Bump NorthstarNavs to v3 (#605)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2023-12-20 13:13:25 +01:00
GeckoEidechse
ee9239f4ae Rename Action from Build to Release (#585)
to better reflect what it does
2023-12-14 15:00:26 +01:00

View File

@@ -1,4 +1,4 @@
name: Build
name: Release
on:
push:
tags:
@@ -18,10 +18,10 @@ env:
jobs:
build-northstar:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout release files
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ env.NORTHSTAR_VERSION }}
path: northstar
@@ -34,12 +34,12 @@ jobs:
wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip"
- name: Download DiscordRPC plugin
run:
wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/v6/northstar-discord-rpc.zip"
wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/v9/northstar-discord-rpc.zip"
- name: Download compiled stubs
run:
wget "https://github.com/R2Northstar/NorthstarStubs/releases/download/v1/NorthstarStubs.zip"
- name: Checkout core mods
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: R2Northstar/NorthstarMods
ref: ${{ env.NORTHSTAR_VERSION }}
@@ -69,10 +69,10 @@ jobs:
unzip northstar-launcher.zip -d northstar
rsync -avr --exclude="Northstar.Coop" --exclude=".git*" northstar-mods/. northstar/R2Northstar/mods
- name: Checkout Navmesh repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: R2Northstar/NorthstarNavs
ref: 'v2'
ref: 'v3'
path: northstar-navs
- name: Navmeshes setup
run: |
@@ -96,9 +96,9 @@ jobs:
- name: Compute SHA-512 checksum
run: |
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip
echo "```" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip >> $GITHUB_STEP_SUMMARY
echo "```" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
- name: Upload zip to release draft
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v') && !contains(env.NORTHSTAR_VERSION, '-rc')
@@ -121,7 +121,7 @@ jobs:
TS_NAMESPACE: northstar
TS_MOD_NAME: Northstar
TS_MOD_DESCRIPTION: Titanfall 2 modding and custom server framework.
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Setup tcli
run: |