From abd57e7beb6afb67f0718c8b770e43ea87d5d507 Mon Sep 17 00:00:00 2001 From: Alex Tkachev Date: Fri, 9 Sep 2022 18:33:14 +0300 Subject: [PATCH] ci: release workflow --- .github/worflows/release.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/worflows/release.yml diff --git a/.github/worflows/release.yml b/.github/worflows/release.yml new file mode 100644 index 0000000..2807aae --- /dev/null +++ b/.github/worflows/release.yml @@ -0,0 +1,33 @@ +name: "Release" +on: + push: + branches: + - release + +jobs: + publish-tauri: + strategy: + fail-fast: false + + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: setup node + uses: actions/setup-node@v1 + with: + node-version: 16 + - name: install Rust stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: install app dependencies and build it + run: yarn && yarn build + - uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tagName: app-v__VERSION__ + releaseName: "aptt v__VERSION__" + releaseBody: "See the assets to download this version and install." + releaseDraft: false + prerelease: false