From d3085ce16db905d6811d7ed88f59a76293ad426c Mon Sep 17 00:00:00 2001 From: zebra-lucky Date: Thu, 24 Oct 2024 20:57:22 +0300 Subject: [PATCH] add app image build job --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f38dd911..12454df92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,3 +32,23 @@ jobs: release_name: ${{ github.ref }} draft: false prerelease: false + + build_appimage: + needs: create_release + runs-on: ubuntu-20.04 + name: create build for Linux AppImage + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: build AppImage + run: | + ./contrib/build-linux/appimage/build.sh + - name: Upload AppImage Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ needs.create_release.outputs.upload_url }} + asset_path: dist/*.AppImage + asset_name: electrum-${{ github.ref_name }}.AppImage + asset_content_type: application/octet-stream