Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions Build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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')

Expand Down