Update Build.yml

This commit is contained in:
Li 2022-07-17 15:27:37 +12:00
parent c9d2e84b8a
commit 46b9805712

View file

@ -23,24 +23,29 @@ jobs:
with: with:
dotnet-version: 7.0.x dotnet-version: 7.0.x
include-prerelease: true include-prerelease: true
- name: Fix Dumb Dotnet Stuff
run: rm -rf N00BS
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore run: |
dotnet restore LibHISP
dotnet restore HISPd
- name: Build linux-x64 - name: Build linux-x64
continue-on-error: false continue-on-error: false
run: | run: |
dotnet publish -p:PublishProfile=Linux64.pubxml dotnet publish HISPd -p:PublishProfile=Linux64.pubxml
- name: Build linux-arm - name: Build linux-arm
continue-on-error: false continue-on-error: false
run: | run: |
dotnet publish -p:PublishProfile=LinuxARM.pubxml dotnet publish HISPd -p:PublishProfile=LinuxARM.pubxml
- name: Build linux-arm64 - name: Build linux-arm64
continue-on-error: false continue-on-error: false
run: | run: |
dotnet publish -p:PublishProfile=LinuxARM64.pubxml dotnet publish HISPd -p:PublishProfile=LinuxARM64.pubxml
- name: Build deb package - name: Build deb package
continue-on-error: false continue-on-error: false