Skip to content

Commit

Permalink
fix: adjust pre-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahmehiz committed Aug 17, 2024
1 parent 3524e19 commit fb57513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Make release
name: Make Pre-release

permissions:
contents: write

on:
workflow_dispatch:
inputs:
prerelease:
description: Creates a pre-release
dry-run:
description: Creates a draft release
required: false
Expand Down Expand Up @@ -80,12 +78,12 @@ jobs:
| x86 | ${{ env.apk-x86-sha256 }}
| x86_64 | ${{ env.apk-x86_64-sha256 }} |
files: |
mpvKt-r${{ env.COMMIT_COUNT }}.apk
mpvKt-universal-r${{ env.COMMIT_COUNT }}.apk
mpvKt-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk
mpvKt-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk
mpvKt-x86-r${{ env.COMMIT_COUNT }}.apk
mpvKt-x86_64-r${{ env.COMMIT_COUNT }}.apk
draft: ${{ github.event.inputs.dry-run != '' }}
prerelease: ${{ github.event.inputs.prerelease != '' }}
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {
applicationId = "live.mehiz.mpvkt"
minSdk = 21
targetSdk = 34
versionCode = 4
versionCode = 5
versionName = "0.1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down

0 comments on commit fb57513

Please sign in to comment.