From df9ff77e26b0d4bd5fb4424fa50914abb2a15100 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:21:18 +0100 Subject: [PATCH] Use env var to define DiscordRPC version (#727) to make editing the version number easier --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c24f4af..2ca7ee0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ permissions: env: NORTHSTAR_VERSION: ${{ github.ref_name }} + DISCORD_RPC_VERSION: v13 jobs: build-northstar: @@ -34,7 +35,7 @@ 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/v13/northstar-discord-rpc.zip" + wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/${{ env.DISCORD_RPC_VERSION }}/northstar-discord-rpc.zip" - name: Download compiled stubs run: wget "https://github.com/R2Northstar/NorthstarStubs/releases/download/v1/NorthstarStubs.zip"