From c0fe4d4c8dc3c6ae5b672b0ba0d8650810598f1f Mon Sep 17 00:00:00 2001 From: Andy Kipp Date: Sun, 14 Mar 2021 14:19:06 +0300 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6274982 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Build portable Fish shell + +on: + release: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install xonsh shell + run: apt update && apt install -y git python3-pip && pip3 install xonsh + - name: Build xxh-appimage + run: xonsh xxh-appimage-build.xsh + - name: Build xxh-portable-musl-alpine-build + run: xonsh xxh-portable-musl-alpine-build.xsh + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + build/xxh-x86_64.AppImage + build/xxh-portable-musl-alpine-Linux-x86_64.tar.gz + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}