From 67276e0119cb12d4686ca8678aa59eb74b37dd19 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Wed, 7 Apr 2021 13:00:09 +0200 Subject: [PATCH] workflow --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ad25d1e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Main + +on: + push: + tags: + - 'v*.*.*' + +jobs: + build: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14' + - run: yarn install --frozen-lockfile + - name: Build + run: yarn run dist + - run: ls out + - name: Create release + uses: softprops/action-gh-release@v0.1.5 + with: + files: | + *.dmg + *.deb + *.AppImage + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file