File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- name : Build and Sign
1+ name : Build, Sign and Publish
22
33on :
44 push :
@@ -163,8 +163,8 @@ jobs:
163163 ${{ env.APK_DIR_PATH }}/${{ env.APK_BASENAME_PREFIX }}_sha256sums
164164 ${{ env.APK_DIR_PATH }}/output-metadata.json
165165
166- - name : Create GitHub Release
167- if : startsWith(github.ref, 'refs/tags/')
166+ - name : Publish GitHub Release
167+ if : github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/github-releases/') || startsWith(github.ref, 'refs/tags/')
168168 uses : softprops/action-gh-release@v1
169169 with :
170170 files : |
@@ -176,4 +176,4 @@ jobs:
176176 ${{ env.APK_DIR_PATH }}/${{ env.APK_BASENAME_PREFIX }}_sha256sums
177177 name : Release ${{ env.APK_VERSION_TAG }}
178178 draft : false
179- prerelease : false
179+ prerelease : ${{ !startsWith(github.ref, 'refs/tags/') }}
You can’t perform that action at this time.
0 commit comments