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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: flutter build apk --debug 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 - name: Publish debug APK
uses: "marvinpinto/action-automatic-releases@latest" uses: "marvinpinto/action-automatic-releases@latest"
with: with:
@ -34,4 +36,4 @@ jobs:
automatic_release_tag: "latest" automatic_release_tag: "latest"
prerelease: true prerelease: true
title: "Development Build" title: "Development Build"
files: build/app/outputs/flutter-apk/app-debug.apk files: revanced-manager-$GITHUB_REF_NAME.apk