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