Skip to content
Closed

test #3491

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android CI

on:
push:
branches: [ "release" ]
pull_request:
branches: [ "release" ]

jobs:
build:

Check warning on line 10 in .github/workflows/android.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

android.yml:10: overly broad permissions: default permissions used due to no permissions: block

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

Check failure on line 15 in .github/workflows/android.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 15 in .github/workflows/android.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

android.yml:15: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: set up JDK 11
uses: actions/setup-java@v4

Check failure on line 17 in .github/workflows/android.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 17 in .github/workflows/android.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

android.yml:17: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
34 changes: 34 additions & 0 deletions .github/workflows/build-media3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Compile Jetpack Media3 Demo APK

on:
workflow_dispatch: # Allows you to start the build with a click

jobs:
build:

Check warning on line 7 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

build-media3.yml:7: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest

steps:
- name: Checkout Media3 Repository
uses: actions/checkout@v4

Check failure on line 12 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 12 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

build-media3.yml:12: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Set up JDK 17
uses: actions/setup-java@v4

Check failure on line 15 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 15 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

build-media3.yml:15: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
distribution: 'zulu'
java-version: '17'

- name: Set up Android SDK
uses: android-actions/setup-android@v3

Check failure on line 21 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 21 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

build-media3.yml:21: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Compile Media3 Demo APK
run: |
./gradlew :demo:assembleNoDecoderExtensionsDebug --stacktrace

- name: Upload Compiled APK
uses: actions/upload-artifact@v4

Check failure on line 31 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 31 in .github/workflows/build-media3.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

build-media3.yml:31: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
name: Media3-Demo-APK
path: demos/main/buildout/outputs/apk/**/*.apk
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Compile Jetpack Media3 Demo APK

on:
workflow_dispatch: # Allows you to start the build with a click

jobs:
build:

Check warning on line 7 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:7: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest

steps:
- name: Checkout Media3 Repository
uses: actions/checkout@v4

Check failure on line 12 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 12 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

main.yml:12: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Set up JDK 17
uses: actions/setup-java@v4

Check failure on line 15 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 15 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

main.yml:15: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
distribution: 'zulu'
java-version: '17'

- name: Set up Android SDK
uses: android-actions/setup-android@v3

Check failure on line 21 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 21 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

main.yml:21: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Compile Media3 Demo APK
run: |
./gradlew :demo:assembleNoDecoderExtensionsDebug --stacktrace

- name: Upload Compiled APK
uses: actions/upload-artifact@v4

Check failure on line 31 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

main.yml:31: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
name: Media3-Demo-APK
path: demos/main/buildout/outputs/apk/**/*.apk
Loading