diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35a6257d..397ad26e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,39 +18,6 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Test nightly - run: echo "test" > test.ipa - - - name: Get current date - id: date - run: echo "date=$(date -u +'%c')" >> $GITHUB_OUTPUT - - - name: Get current date in AltStore date form - id: date_altstore - run: echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT - - - 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 - 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 (make sure to update it in "My Apps"). - - Built at: `${{ steps.date.outputs.date }}` (UTC) - Built at (UTC date): `${{ steps.date_altstore.outputs.date }}` - Commit SHA: `${{ github.sha }}` - - - name: Trigger error - run: exit 1 - - name: Checkout code uses: actions/checkout@v2 with: @@ -147,6 +114,14 @@ jobs: name: SideStore.ipa path: SideStore.ipa + - name: Get current date + id: date + run: echo "date=$(date -u +'%c')" >> $GITHUB_OUTPUT + + - name: Get current date in AltStore date form + id: date_altstore + run: echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT + - name: Upload to nightly release uses: IsaacShelton/update-existing-release@v1.3.1 with: @@ -155,5 +130,13 @@ jobs: tag: "nightly" prerelease: true files: SideStore.ipa - message: "Nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})" - body: "" + 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 (make sure to update it in "My Apps"). + + Built at (UTC): `${{ steps.date.outputs.date }}` + Built at (UTC date): `${{ steps.date_altstore.outputs.date }}` + Commit SHA: `${{ github.sha }}`