From 0503635656217af18701902f905675acc27dbebb Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Mon, 11 May 2020 16:14:19 +0200 Subject: [PATCH] build --- .github/workflows/build-app.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index b725683e2..7227bd42c 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -2,8 +2,11 @@ name: Electron app on: push: - branches: - - production + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + + # branches: + # - production jobs: build: @@ -52,6 +55,7 @@ jobs: with: name: ${{ matrix.os }} path: artifacts + - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -59,3 +63,14 @@ jobs: files: "artifacts/**" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # - name: Create Release + # id: create_release + # uses: actions/create-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # tag_name: ${{ github.ref }} + # release_name: Release ${{ github.ref }} + # draft: false + # prerelease: false \ No newline at end of file