File tree 3 files changed +14
-12
lines changed
3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: check-date
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ workflow_call :
5
6
6
7
jobs :
7
8
check_date :
Original file line number Diff line number Diff line change @@ -3,15 +3,17 @@ name: nightly
3
3
on :
4
4
schedule :
5
5
- cron : " 4 3 * * *"
6
+ workflow_dispatch :
6
7
jobs :
8
+ check-date :
9
+ uses : ./.github/workflows/check-date.yml
7
10
nightly-publish-check :
8
11
name : Nightly publish check
9
12
runs-on : ubuntu-latest
10
- needs : check_date
11
- if : ${{ needs.check_date.outputs.should_run != 'false' }}
12
- steps :
13
- - name : Build and publish nightly
14
- uses : ./.github/workflows/release.yml
15
- secrets : inherit
16
- with :
17
- build_type : ${{ inputs.release_type == '' && 'nightly' || inputs.release_type }}
13
+ needs : check-date
14
+ if : ${{ needs.check-date.outputs.should_run != 'false' }}
15
+ publish-nightly :
16
+ name : Publish nightly
17
+ runs-on : ubuntu-latest
18
+ needs : nightly-publish-check
19
+ uses : ./.github/workflows/release.yml
Original file line number Diff line number Diff line change 12
12
- alpha
13
13
- beta
14
14
- production
15
- default : alpha
15
+ default : none
16
16
required : true
17
17
release_type :
18
18
type : choice
28
28
description : " Tag name for release"
29
29
required : false
30
30
default : nightly
31
+ workflow_call :
31
32
32
33
jobs :
33
34
build :
34
35
name : Build Signed APK
35
- needs : check_date
36
- if : ${{ inputs.release_type != 'none' && (needs.check_date.outputs.should_run != 'false' && ) }}
37
36
runs-on : ubuntu-latest
38
37
39
38
env :
48
47
GH_REPO : ${{ github.repository }}
49
48
50
49
steps :
51
- - uses : actions/checkout@v4
50
+ - uses : actions/checkout@4
52
51
- name : Set up JDK 17
53
52
uses : actions/setup-java@v4
54
53
with :
You can’t perform that action at this time.
0 commit comments