diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml deleted file mode 100755 index f36dafe..0000000 --- a/.github/workflows/linux.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: linux - -on: - push: - branches: [ master ] -defaults: - run: - working-directory: ./HorseIsleServer - -jobs: - build: - - runs-on: ubuntu-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 linux-64 - continue-on-error: false - run: | - dotnet publish -p:PublishProfile=Linux64.pubxml - - - name: Build linux-arm - continue-on-error: false - run: | - dotnet publish -p:PublishProfile=LinuxARM.pubxml - - - name: Build linux-arm64 - continue-on-error: false - run: | - dotnet publish -p:PublishProfile=LinuxARM64.pubxml - - - name: upload linux-64 - uses: actions/upload-artifact@v2 - with: - name: linux-x64 - path: HorseIsleServer/HISP/bin/x64/Linux/net6.0/linux-x64/publish/ - - - name: upload linux-arm - uses: actions/upload-artifact@v2 - with: - name: linux-arm - path: HorseIsleServer/HISP/bin/ARM/Linux/net6.0/linux-arm/publish/ - - - name: upload linux-arm64 - uses: actions/upload-artifact@v2 - with: - name: linux-arm64 - path: HorseIsleServer/HISP/bin/ARM64/Linux/net6.0/linux-arm64/publish/