From ad59d5fbd664311ee3f64801605c6feae8788822 Mon Sep 17 00:00:00 2001 From: Alessio Moscatello Date: Thu, 19 Aug 2021 16:22:39 +0200 Subject: [PATCH] Addin pre-release workflow --- .github/workflows/pyinstaller.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index 705e6be..74e8bdf 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/upload-artifact@v2 with: - name: bpc + name: bpc.exe path: src/dist/windows build-linux: @@ -40,3 +40,26 @@ jobs: with: name: bpc path: src/dist/linux + + + + pre-release: + name: "Pre Release" + runs-on: "ubuntu-latest" + needs: [build-windows, build-linux] + steps: + - uses: actions/download-artifact@v2 + with: + name: bpc + - uses: actions/download-artifact@v2 + with: + name: bpc.exe + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: true + title: "Development Build" + files: | + bpc + bpc.exe