forked from CHIZI-0618/box4magisk
-
Notifications
You must be signed in to change notification settings - Fork 24
43 lines (35 loc) · 960 Bytes
/
prerelease.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: prerelease
on:
push:
jobs:
build:
runs-on: ubuntu-latest
env:
isAlpha: true
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Run build.sh
run: sh build.sh
- name: Delete current prerelease assets
uses: andreaswilli/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: Prerelease-Alpha
deleteOnlyFromDrafts: false
- name: Tag Repo
uses: richardsimko/update-tag@v1
with:
tag_name: Prerelease-Alpha
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Prerelease
uses: softprops/action-gh-release@v1
if: ${{ success() }}
with:
tag_name: Prerelease-Alpha
files: Surfing_v*.zip
prerelease: true
generate_release_notes: true