mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-29 13:51:04 +00:00
build: add debug workflow and improve release workflow
This commit is contained in:
17
.github/workflows/release-build.yml
vendored
17
.github/workflows/release-build.yml
vendored
@@ -1,9 +1,9 @@
|
||||
name: Flutter CI
|
||||
name: "Release Build"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -25,8 +25,11 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: flutter build apk
|
||||
- name: Store generated APK file
|
||||
uses: actions/upload-artifact@v1
|
||||
- name: Add version to APK
|
||||
run: mv build/app/outputs/flutter-apk/app-release.apk revanced-manager-$GITHUB_REF_NAME.apk
|
||||
- name: Publish release APK
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
name: revanced-manager
|
||||
path: build/app/outputs/flutter-apk/app-release.apk
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
prerelease: false
|
||||
files: revanced-manager-$GITHUB_REF_NAME.apk
|
||||
|
||||
Reference in New Issue
Block a user