From 8ffa952ff9fd93f95dc320c107fee5e26fa179f9 Mon Sep 17 00:00:00 2001 From: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> Date: Sun, 1 Jan 2023 20:36:14 -0800 Subject: [PATCH] start on nightly builds Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c7c73a1..f425d75d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,23 @@ jobs: with: submodules: recursive + - name: Test nightly + run: touch test.ipa + + - name: Upload to nightly release + uses: IsaacShelton/update-existing-release@v1.3.1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + release: "Nightly" + tag: "nightly" + prerelease: true + files: test.ipa + message: "Nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})" + body: "" + + - name: Trigger error + run: exit 1 + # - name: Cache rust cargo # id: cache-rust-cargo # uses: actions/cache@v3 @@ -113,3 +130,14 @@ jobs: with: name: SideStore.ipa path: SideStore.ipa + + - name: Upload to nightly release + uses: IsaacShelton/update-existing-release@v1.3.1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + release: "Nightly" + tag: "nightly" + prerelease: true + files: SideStore.ipa + message: "Nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})" + body: ""