mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add Linux ARM64 precompiled build
This commit is contained in:
parent
e150bd569b
commit
577f6be27c
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build-and-release.yml
vendored
8
.github/workflows/build-and-release.yml
vendored
|
|
@ -23,6 +23,7 @@ jobs:
|
||||||
echo win-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/win-x64/publish/ >> $GITHUB_ENV
|
echo win-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/win-x64/publish/ >> $GITHUB_ENV
|
||||||
echo linux-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/linux-x64/publish/ >> $GITHUB_ENV
|
echo linux-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/linux-x64/publish/ >> $GITHUB_ENV
|
||||||
echo osx-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/osx-x64/publish/ >> $GITHUB_ENV
|
echo osx-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/osx-x64/publish/ >> $GITHUB_ENV
|
||||||
|
echo linux-arm64-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/linux-arm64/publish/ >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup .NET SDK
|
- name: Setup .NET SDK
|
||||||
uses: actions/setup-dotnet@v2.1.0
|
uses: actions/setup-dotnet@v2.1.0
|
||||||
|
|
@ -60,6 +61,13 @@ jobs:
|
||||||
run: zip -qq -r linux.zip *
|
run: zip -qq -r linux.zip *
|
||||||
working-directory: ${{ env.linux-out-path }}
|
working-directory: ${{ env.linux-out-path }}
|
||||||
|
|
||||||
|
- name: Build for ARM64 Linux
|
||||||
|
run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r linux-arm64 ${{ env.compile-flags }}
|
||||||
|
|
||||||
|
- name: Zip ARM64 Linux Build
|
||||||
|
run: zip -qq -r linux-arm64.zip *
|
||||||
|
working-directory: ${{ env.linux-arm64-out-path }}
|
||||||
|
|
||||||
- name: Build for OSX
|
- name: Build for OSX
|
||||||
run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r osx-x64 ${{ env.compile-flags }}
|
run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r osx-x64 ${{ env.compile-flags }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue