From: AeonLucid Date: Wed, 30 Sep 2020 21:48:14 +0000 (+0200) Subject: Add arm builds for releases X-Git-Tag: v1.1.0~1^2~15 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=72be33ddcd42e3e6b46653c7988a66f19c9a65b5;p=rhonda%2Fimpostor.git Add arm builds for releases --- diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e4720ac..8b597c9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,7 +34,8 @@ jobs: cd ./src/Impostor.Client/bin/Release/net452/win-x64 7z a -r $GITHUB_WORKSPACE/build/win-x64-client.zip * cd $GITHUB_WORKSPACE - - name: Publish Impostor.Server (win-x64) + - + name: Publish Impostor.Server (win-x64) run: dotnet publish -c release -o ./build/win-x64 -f netcoreapp3.1 -r win-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true - name: Zip Impostor.Server (win-x64) shell: bash @@ -42,7 +43,8 @@ jobs: cd ./build/win-x64 7z a -r ../win-x64.zip * cd $GITHUB_WORKSPACE - - name: Publish Impostor.Server (linux-x64) + - + name: Publish Impostor.Server (linux-x64) run: dotnet publish -c release -o ./build/linux-x64 -f netcoreapp3.1 -r linux-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true - name: Zip Impostor.Server (linux-x64) shell: bash @@ -50,7 +52,26 @@ jobs: cd ./build/linux-x64 7z a -r ../linux-x64.zip * cd $GITHUB_WORKSPACE - - name: Publish Impostor.Server (osx-x64) + - + name: Publish Impostor.Server (linux-arm) + run: dotnet publish -c release -o ./build/linux-arm -f netcoreapp3.1 -r linux-arm --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true + - name: Zip Impostor.Server (linux-arm) + shell: bash + run: | + cd ./build/linux-arm + 7z a -r ../linux-arm.zip * + cd $GITHUB_WORKSPACE + - + name: Publish Impostor.Server (linux-arm64) + run: dotnet publish -c release -o ./build/linux-arm64 -f netcoreapp3.1 -r linux-arm64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true + - name: Zip Impostor.Server (linux-arm64) + shell: bash + run: | + cd ./build/linux-arm64 + 7z a -r ../linux-arm64.zip * + cd $GITHUB_WORKSPACE + - + name: Publish Impostor.Server (osx-x64) run: dotnet publish -c release -o ./build/osx-x64 -f netcoreapp3.1 -r osx-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true - name: Zip Impostor.Server (osx-x64) shell: bash @@ -58,7 +79,8 @@ jobs: cd ./build/osx-x64 7z a -r ../osx-x64.zip * cd $GITHUB_WORKSPACE - - name: Create Release + - + name: Create Release id: create_release uses: actions/create-release@v1 env: @@ -72,7 +94,8 @@ jobs: - Second Change draft: true prerelease: false - - name: Upload Release Asset (win-x64) Client + - + name: Upload Release Asset (win-x64) Client uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -81,7 +104,8 @@ jobs: asset_path: ./build/win-x64-client.zip asset_name: Impostor-Client-win-x64.zip asset_content_type: application/zip - - name: Upload Release Asset (win-x64) Server + - + name: Upload Release Asset (win-x64) Server uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -90,7 +114,8 @@ jobs: asset_path: ./build/win-x64.zip asset_name: Impostor-Server-win-x64.zip asset_content_type: application/zip - - name: Upload Release Asset (linux-x64) Server + - + name: Upload Release Asset (linux-x64) Server uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -99,7 +124,28 @@ jobs: asset_path: ./build/linux-x64.zip asset_name: Impostor-Server-linux-x64.zip asset_content_type: application/zip - - name: Upload Release Asset (osx-x64) Server + - + name: Upload Release Asset (linux-arm) Server + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./build/linux-arm.zip + asset_name: Impostor-Server-linux-arm.zip + asset_content_type: application/zip + - + name: Upload Release Asset (linux-arm64) Server + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./build/linux-arm64.zip + asset_name: Impostor-Server-linux-arm64.zip + asset_content_type: application/zip + - + name: Upload Release Asset (osx-x64) Server uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}