Actions: fix build folder hopefully

pull/35/head
Miepee 4 years ago committed by GitHub
parent f09bdad308
commit 3ba8668ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,14 +12,14 @@ jobs:
configuration: [Release] configuration: [Release]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained -o ubuntu-latest COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained -o builds/ubuntu-latest
ARTIFACT: AM2RLauncher/builds/linux64 ARTIFACT: AM2RLauncher/builds/ubuntu-latest
- os: macOS-latest - os: macOS-latest
COMMAND: AM2RLauncher.Mac -r osx-x64 --no-self-contained -o macOS-latest COMMAND: AM2RLauncher.Mac -r osx-x64 --no-self-contained -o builds/macOS-latest
ARTIFACT: AM2RLauncher/builds/osx64 ARTIFACT: AM2RLauncher/builds/macOS-latest
- os: windows-latest - os: windows-latest
COMMAND: AM2RLauncher.Wpf -r win-x86 -o windows-latest COMMAND: AM2RLauncher.Wpf -r win-x86 -o builds/windows-latest
ARTIFACT: AM2RLauncher\builds\win86 ARTIFACT: AM2RLauncher\builds\windows-latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -36,7 +36,7 @@ jobs:
working-directory: ./AM2RLauncher working-directory: ./AM2RLauncher
run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}" run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}"
- name: Post-Build - name: Post-Build
run: cp ./LICENSE ./AM2RLauncher/${{ matrix.os }}/ run: cp ./LICENSE ./AM2RLauncher/builds/${{ matrix.os }}/
# Steps for uploading artifacts. # Steps for uploading artifacts.
- name: Zip to Archive - name: Zip to Archive
run: 7z a -tzip ${{ matrix.os }}.zip ./${{ matrix.ARTIFACT }} run: 7z a -tzip ${{ matrix.os }}.zip ./${{ matrix.ARTIFACT }}

Loading…
Cancel
Save