File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,16 @@ jobs:
55
55
printf '%s\n' "::notice::SHA-256: ${ZIP_SHA256:-Missing}"
56
56
printf '%s\n' "::notice::MD5: ${ZIP_MD5:-Missing}"
57
57
: "${ZIP_FOLDER:?}" || exit "${?}"
58
- - name : " Do we need to release the nightly?"
58
+ - name : " Do we need to publish the nightly build ?"
59
59
id : " nightly-logic"
60
60
shell : bash
61
61
run : |
62
- # Do we need to release the nightly?
63
- tag_count="$(git ls-remote --tags -- '${{ github.server_url }}/${{ github.repository }}.git' | wc -l)" || tag_count=0
62
+ # Do we need to publish the nightly build?
64
63
CREATE_RELEASE='false'
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
64
+ if '${{ github.run_attempt == '1' && steps.build.outputs.ZIP_BUILD_TYPE_SUPPORTED == 'true' && steps.build.outputs.ZIP_IS_ALPHA == 'true' }}'; then
66
65
CREATE_RELEASE='true'
67
66
fi
68
- printf 'CREATE_RELEASE=%s\n' "${CREATE_RELEASE:?}" >> "${GITHUB_OUTPUT?}"
67
+ printf 'CREATE_RELEASE=%s\n' "${CREATE_RELEASE:?}" 1 >> "${GITHUB_OUTPUT?}"
69
68
printf '%s\n' "${CREATE_RELEASE:?}"
70
69
- name : " Delete previous nightly release"
71
70
uses : actions/github-script@v7
You can’t perform that action at this time.
0 commit comments