Update build.yml
Hopefully make build.yml publish pre-releases every time the master branch is updated.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
|
branches:
|
||||||
|
- "master"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildlinux:
|
buildlinux:
|
||||||
@@ -107,6 +109,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: SavvyCAN-Windows_x64
|
name: SavvyCAN-Windows_x64
|
||||||
path: package
|
path: package
|
||||||
|
|
||||||
|
pre-release:
|
||||||
|
name: "pre-release"
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
needs: [buildwindows, buildmacos, buildlinux]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: "continuous"
|
||||||
|
prerelease: true
|
||||||
|
title: "Development Build"
|
||||||
|
files: |
|
||||||
|
SavvyCAN-Linux_x64.AppImage
|
||||||
|
SavvyCAN-Windows_x64.zip
|
||||||
|
SavvyCAN-macOS_x64.dmg
|
||||||
|
|
||||||
#notify:
|
#notify:
|
||||||
# name: Notify Discord
|
# name: Notify Discord
|
||||||
|
|||||||
Reference in New Issue
Block a user