From e367fd2b736799698af417e68ab870c6916e9c36 Mon Sep 17 00:00:00 2001 From: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> Date: Sun, 1 Jan 2023 20:51:35 -0800 Subject: [PATCH] Update build.yml Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> --- .github/workflows/build.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d4a16c5..f243105d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,27 +18,34 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Test nightly - run: touch test.ipa + run: echo "test" > test.ipa - name: Upload to nightly release uses: IsaacShelton/update-existing-release@v1.3.1 with: token: ${{ secrets.GITHUB_TOKEN }} - release: "Nightly" + release: "Nightly build for ${{ github.sha }}" tag: "nightly" prerelease: true files: test.ipa - body: "Nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})" + body: > + This is an __⚠️ **EXPERIMENTAL** ⚠️__ nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}). + + Nightly builds are built from the most recent commit. However, since they are much newer and less tested, they have a much higher chance of bugs, so **use at your own risk**. + + If you use the SideStore (Nightly) app, it will use the latest nightly build. + + Built at: $(date -u +'%c') (UTC) - name: Trigger error run: exit 1 + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: recursive + # - name: Cache rust cargo # id: cache-rust-cargo # uses: actions/cache@v3