Skip to content

Commit 1abe91c

Browse files
authored
Update debug_build.yml
1 parent 9af19ba commit 1abe91c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/debug_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Sign
1+
name: Build, Sign and Publish
22

33
on:
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/') }}

0 commit comments

Comments
 (0)