mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
Delete macos.yml
This commit is contained in:
parent
6d16f729a8
commit
1a0eacb438
1 changed files with 0 additions and 51 deletions
51
.github/workflows/macos.yml
vendored
51
.github/workflows/macos.yml
vendored
|
@ -1,51 +0,0 @@
|
||||||
name: macos
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./HorseIsleServer
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: macos-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Git Submodule update
|
|
||||||
run: git submodule update --init --recursive
|
|
||||||
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.0.x
|
|
||||||
include-prerelease: true
|
|
||||||
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
|
|
||||||
|
|
||||||
- name: Build mac-x64
|
|
||||||
continue-on-error: false
|
|
||||||
run: |
|
|
||||||
dotnet publish -p:PublishProfile=Osx64.pubxml
|
|
||||||
|
|
||||||
- name: Build mac-arm64
|
|
||||||
continue-on-error: false
|
|
||||||
run: |
|
|
||||||
dotnet publish -p:PublishProfile=OsxARM64.pubxml
|
|
||||||
|
|
||||||
- name: upload mac-x64
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: mac-x64
|
|
||||||
path: HorseIsleServer/HISP/bin/x64/MacOS/net6.0/osx-x64/publish/
|
|
||||||
|
|
||||||
- name: upload mac-arm64
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: mac-arm64
|
|
||||||
path: HorseIsleServer/HISP/bin/arm64/MacOS/net6.0/osx-arm64/publish/
|
|
Loading…
Add table
Reference in a new issue