mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 18:53:40 +01:00
Update build.yml
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
This commit is contained in:
committed by
Joe Mattiello
parent
1ca67d0241
commit
e367fd2b73
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -18,27 +18,34 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Test nightly
|
- name: Test nightly
|
||||||
run: touch test.ipa
|
run: echo "test" > test.ipa
|
||||||
|
|
||||||
- name: Upload to nightly release
|
- name: Upload to nightly release
|
||||||
uses: IsaacShelton/update-existing-release@v1.3.1
|
uses: IsaacShelton/update-existing-release@v1.3.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
release: "Nightly"
|
release: "Nightly build for ${{ github.sha }}"
|
||||||
tag: "nightly"
|
tag: "nightly"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: test.ipa
|
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
|
- name: Trigger error
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
# - name: Cache rust cargo
|
# - name: Cache rust cargo
|
||||||
# id: cache-rust-cargo
|
# id: cache-rust-cargo
|
||||||
# uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user