Merge branch 'main' into main

pull/32/head
Miepee 4 years ago committed by GitHub
commit ab917afe2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,7 @@ on:
paths-ignore: paths-ignore:
- 'README.md' - 'README.md'
- '.github/**' - '.github/**'
workflow_dispatch:
jobs: jobs:
build: build:
@ -21,12 +22,15 @@ jobs:
configuration: [Release] configuration: [Release]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
ATTR: echo Nothing-to-do
COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained
ARTIFACT: AM2RLauncher/AM2RLauncher.Gtk/bin/Release/net5.0/ubuntu.18.04-x64/publish/ ARTIFACT: AM2RLauncher/AM2RLauncher.Gtk/bin/Release/net5.0/ubuntu.18.04-x64/publish/
- os: macOS-latest - os: macOS-latest
ATTR: xattr -rd com.apple.quarantine AM2RLauncher/AM2RLauncher.Mac/bin/Release/net6.0/osx-x64/AM2RLauncher.Mac.app/
COMMAND: AM2RLauncher.Mac -r osx-x64 --no-self-contained COMMAND: AM2RLauncher.Mac -r osx-x64 --no-self-contained
ARTIFACT: AM2RLauncher/AM2RLauncher.Mac/bin/Release/net6.0/osx-x64/AM2RLauncher.Mac.app/ ARTIFACT: AM2RLauncher/AM2RLauncher.Mac/bin/Release/net6.0/osx-x64/AM2RLauncher.Mac.app/
- os: windows-latest - os: windows-latest
ATTR: echo Nothing-to-do
COMMAND: AM2RLauncher.Wpf -r win-x86 -o builds\win86 COMMAND: AM2RLauncher.Wpf -r win-x86 -o builds\win86
ARTIFACT: AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\ ARTIFACT: AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -45,10 +49,12 @@ jobs:
working-directory: ./AM2RLauncher working-directory: ./AM2RLauncher
run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}" run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}"
# Steps for uploading artifacts. We don't need them currently, so they're commented out. # Steps for uploading artifacts. We don't need them currently, so they're commented out.
#- name: Zip to Archive - name: Set Attributes
# run: 7z a -tzip ${{ matrix.os }}.zip ./${{ matrix.ARTIFACT }} run: ${{ matrix.ATTR }}
#- name: Upload Artifacts - name: Zip to Archive
# uses: actions/upload-artifact@v1.0.0 run: 7z a -tzip ${{ matrix.os }}.zip ./${{ matrix.ARTIFACT }}
# with: - name: Upload Artifacts
# name: ${{ matrix.os }} uses: actions/upload-artifact@v1.0.0
# path: ${{ matrix.os }}.zip with:
name: ${{ matrix.os }}
path: ${{ matrix.os }}.zip

Loading…
Cancel
Save