From feb28d2fee46fb11c472e66761494895fce358e9 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Fri, 28 May 2021 18:51:37 -0400 Subject: [PATCH] Update build.yml Hopefully make build.yml publish pre-releases every time the master branch is updated. --- .github/workflows/build.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d9bbdc8..68211f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,9 @@ name: Build -on: - workflow_dispatch: +on: + push: + branches: + - "master" jobs: buildlinux: @@ -107,6 +109,23 @@ jobs: with: name: SavvyCAN-Windows_x64 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: # name: Notify Discord