File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ concurrency:
12
12
group : " ${{ github.repository_id }}-${{ github.workflow }}"
13
13
cancel-in-progress : true
14
14
jobs :
15
- base-job :
15
+ nightly :
16
16
name : " Nightly"
17
17
runs-on : ubuntu-latest
18
18
if : " ${{ github.event_name == 'push' && github.ref_type == 'branch' }}"
31
31
id : " build"
32
32
shell : bash
33
33
run : |
34
- echo '${{ github.run_attempt }}'
35
- exit 1
36
34
# Building nightly...
37
35
BUILD_TYPE='oss' '${{ github.workspace }}/build.sh'
38
36
- name : " ZIP info"
63
61
run : |
64
62
# Do we need to release the nightly?
65
63
tag_count="$(git ls-remote --tags -- '${{ github.server_url }}/${{ github.repository }}.git' | wc -l)" || tag_count=0
66
- git fetch -q origin
67
64
CREATE_RELEASE='false'
68
- IS_LATEST_COMMIT='false'
69
- if test '${{ github.sha }}' = "$(git log -n 1 --pretty='%H' 'origin/main' || :)"; then
70
- IS_LATEST_COMMIT='true'
71
- fi
72
- if test "${tag_count?}" != 0 && test "${IS_LATEST_COMMIT:?}" = 'true' && '${{ steps.build.outputs.ZIP_BUILD_TYPE_SUPPORTED == 'true' && steps.build.outputs.ZIP_IS_ALPHA == 'true' }}'; then
65
+ if test "${tag_count?}" != 0 && '${{ github.run_attempt == '1' && steps.build.outputs.ZIP_BUILD_TYPE_SUPPORTED == 'true' && steps.build.outputs.ZIP_IS_ALPHA == 'true' }}'; then
73
66
CREATE_RELEASE='true'
74
67
fi
75
68
printf 'CREATE_RELEASE=%s\n' "${CREATE_RELEASE:?}" >> "${GITHUB_OUTPUT?}"
You can’t perform that action at this time.
0 commit comments