build: rename debug asset before publishing too

This commit is contained in:
Alberto Ponces 2022-08-18 23:08:01 +01:00
parent e7b814047b
commit 3713ec4d92

View File

@ -27,6 +27,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: flutter build apk --debug
- name: Add version to APK
run: mv build/app/outputs/flutter-apk/app-debug.apk revanced-manager-$GITHUB_REF_NAME.apk
- name: Publish debug APK
uses: "marvinpinto/action-automatic-releases@latest"
with:
@ -34,4 +36,4 @@ jobs:
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: build/app/outputs/flutter-apk/app-debug.apk
files: revanced-manager-$GITHUB_REF_NAME.apk