Skip to content

Commit

Permalink
build on new tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed May 23, 2022
1 parent 63cad9d commit 80fa6f0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Build electron distributables

on:
# release:
# types: [published]
push:
branches:
- autobuild
on:
push:
tags:
- 'v*'

jobs:
build-electron :
Expand Down Expand Up @@ -41,22 +39,25 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./release/Hybro-Linux.zip"
asset_name: hybro.for.linux.zip
tag: ${{ github.ref }}
release_name: "HyBro, ${{ github.ref }}"
overwrite: true

- name: Upload release for MacOSX
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./release/Hybro-MacOSX.zip"
asset_name: hybro.for.macosx.zip
tag: ${{ github.ref }}
release_name: "HyBro, ${{ github.ref }}"
overwrite: true

- name: Upload release for Windows
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./release/Hybro-Windows.zip"
asset_name: hybro.for.windows.zip
tag: ${{ github.ref }}
release_name: "HyBro, ${{ github.ref }}"
overwrite: true

0 comments on commit 80fa6f0

Please sign in to comment.