From cb34b6e613410b6c6ee1237e0f1239151f66e31a Mon Sep 17 00:00:00 2001 From: Lord-Giganticus <70081529+Lord-Giganticus@users.noreply.github.com> Date: Sun, 25 Sep 2022 08:01:47 -0600 Subject: [PATCH 1/2] Fix Build.py --- Build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build.py b/Build.py index 2737c90..bec2c15 100644 --- a/Build.py +++ b/Build.py @@ -31,7 +31,7 @@ for file in files: commands.append(f'msbuild "{path.abspath(file)}" -p:Configuration="Release Spotlight"') - commands.append(f'msbuild "{path.abspath(file)}" -p:Configuration="Release Moonlight" -p:Platform=x64') + commands.append(f'msbuild "{path.abspath(file)}" -p:Configuration="Release Moonlight"') for command in commands: subprocess.call(command, shell=True) @@ -40,7 +40,7 @@ subprocess.call(f'7z a "{home_dir}\\Moonlight.zip" *.* -r') -os.chdir(f"{Path(os.getcwd()).parent.parent.absolute()}\\Spotlight_RELEASE") +os.chdir("..\\Spotlight_RELEASE") subprocess.call(f'7z a "{home_dir}\\Spotlight.zip" *.* -r') From 651f7041f7e24e88d371b5e0b0a40c0c3bd16967 Mon Sep 17 00:00:00 2001 From: Lord-Giganticus <70081529+Lord-Giganticus@users.noreply.github.com> Date: Sun, 25 Sep 2022 07:06:00 -0600 Subject: [PATCH 2/2] Update dotnet.yml Any CPU works now so no need to do arch specific stuff --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index b0cdfd4..394f669 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -21,13 +21,13 @@ jobs: uses: actions/upload-artifact@v2.2.4 with: name: Moonlight - path: "${{ github.workspace }}/SpotLight/bin/x64/Moonlight_RELEASE" + path: "${{ github.workspace }}/SpotLight/bin/Moonlight_RELEASE" - name: Upload Spotlight if: github.ref != 'refs/heads/master' uses: actions/upload-artifact@v2.2.4 with: name: Spotlight - path: "${{ github.workspace }}/SpotLight/bin/x86/Spotlight_RELEASE" + path: "${{ github.workspace }}/SpotLight/bin/Spotlight_RELEASE" - name: Make a release if: github.ref == 'refs/heads/master' uses: "marvinpinto/action-automatic-releases@latest"