This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
Delete something that make Github actions build failure #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Build Automatically | |
on: | |
push: | |
branches: [ "flyme" ] | |
pull_request: | |
branches: [ "flyme" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew assembleRelease | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Android-output | |
path: | | |
${{github.workspace}}/app/build/outputs/apk/release/*.apk | |
${{github.workspace}}/app/build/outputs/apk/debug/*.apk |