Skip to content

Commit

Permalink
Update release-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko authored Dec 30, 2023
1 parent f22011c commit bfe4aec
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "zulu"

- uses: subosito/flutter-action@v2
with:
channel: "stable"

- name: Cache Node modules
uses: actions/cache@v3
with:
Expand All @@ -41,17 +31,8 @@ jobs:
- name: Set env
run: echo "RELEASE_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV

- name: Set up Flutter
run: flutter pub get

- name: Generate files with Builder
run: dart run build_runner build --delete-conflicting-outputs

- name: Build with Flutter
run: flutter build apk

- name: Rename APK
run: mv ${{steps.sign_apk.outputs.signedFile}} revanced-manager-${{ env.RELEASE_VERSION }}.apk
run: mv build/app/outputs/apk/release/app-release.apk revanced-manager-${{ env.RELEASE_VERSION }}.apk

- name: Publish release APK
env:
Expand Down

0 comments on commit bfe4aec

Please sign in to comment.