mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2025-10-23 14:19:12 +02:00
Tweak release body text, add way to dry run action workflow
This commit is contained in:
10
.github/workflows/build_app.yml
vendored
10
.github/workflows/build_app.yml
vendored
@@ -10,6 +10,9 @@ on:
|
||||
git-ref:
|
||||
description: Git Ref (Optional)
|
||||
required: false
|
||||
dry-run:
|
||||
description: Creates a draft release
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
build-app:
|
||||
@@ -53,8 +56,11 @@ jobs:
|
||||
with:
|
||||
tag_name: r${{ env.COMMIT_COUNT }}
|
||||
release_name: Tachiyomi Preview r${{ env.COMMIT_COUNT }}
|
||||
body: 'r${{ env.COMMIT_COUNT }}\n\nLatest commit: https://github.com/inorichi/tachiyomi/commit/${{ env.CURRENT_SHA }}'
|
||||
draft: false
|
||||
body: >
|
||||
r${{ env.COMMIT_COUNT }}
|
||||
|
||||
Latest commit: https://github.com/inorichi/tachiyomi/commit/${{ env.CURRENT_SHA }}
|
||||
draft: ${{ github.event.inputs.dry-run != '' }}
|
||||
prerelease: false
|
||||
- name: Upload APK to release
|
||||
uses: actions/upload-release-asset@v1
|
||||
|
Reference in New Issue
Block a user