Skip to content

Commit

Permalink
wip update yml format ident
Browse files Browse the repository at this point in the history
  • Loading branch information
rogergcc committed Sep 8, 2024
1 parent 08402a4 commit c0072cb
Showing 1 changed file with 25 additions and 26 deletions.
51 changes: 25 additions & 26 deletions .github/workflows/AndroidBuild.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
name: AndroidBuild
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
name: AndroidBuild
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.7
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 1.8
distribution: 'adopt'
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Setup Java JDK
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: FilmsTMDB_debug.apk
path: app/build/outputs/apk/debug/app-debug.apk
- name: Build with Gradle
run: ./gradlew build

- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: FilmsTMDB_debug.apk
path: app/build/outputs/apk/debug/app-debug.apk

0 comments on commit c0072cb

Please sign in to comment.