Fix Linux CI (#47)

* Change linux build command to conform to dotnet8 requirements

* Run CI on Pull Requests
pull/49/head
LiveLM 3 years ago committed by GitHub
parent 74156d4a07
commit 7116764ddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,8 +2,9 @@ name: Build and Upload
on:
push:
paths-ignore:
paths-ignore:
- 'README.md'
pull_request:
workflow_dispatch:
jobs:
@ -15,7 +16,7 @@ jobs:
configuration: [Release]
include:
- os: ubuntu-latest
COMMAND: Atomic.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained -o builds/ubuntu-latest -p:BuildPlatform=Gtk
COMMAND: Atomic.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r linux-x64 --no-self-contained -o builds/ubuntu-latest -p:BuildPlatform=Gtk
ARTIFACT: builds/ubuntu-latest
POSTBUILD: echo "nothing to do!"
- os: macos-13
@ -27,7 +28,7 @@ jobs:
ARTIFACT: builds/windows-latest
POSTBUILD: echo "nothing to do!"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@ -35,7 +36,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x.x
- name: Install Mac workload
- name: Install Mac workload
working-directory: ./
run: dotnet workload install macos && dotnet workload restore
- name: Switch XCode

Loading…
Cancel
Save