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" 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')