This repository was archived by the owner on Aug 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 618
Add triggers to .github/workflows/ #334
Open
cartland
wants to merge
14
commits into
android:main
Choose a base branch
from
cartland:workflow_dispatch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
Note The files in this pull request are not supported by Gemini Code Assist. |
CI is not working on this repository, likely due to this issue: The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see actions/runner-images#6002 I will try to update the environment to |
Fixes this error: The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see actions/runner-images#6002
Responding to error: "This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see actions/runner-images#11101""
|
The builds are failing: * Error: Missing download info for actions/upload-artifact@v1
The builds are failing and need the updated versions: * actions/checkout@v4 * actions/setup-java@v2
This commit refactors the Android workflow to build each sample individually. - Removes the gradlew_recursive.sh script. - Adds individual jobs for each sample. - Each job checks out the code, sets up JDK 11, and builds the sample.
This commit adds a new job to the Android workflow that uploads the build artifacts for each sample. - Uses actions/upload-artifact@v4 to upload the build artifacts. - Sets the name of the artifact to the sample name plus "-build". - Sets the path to the app/build/outputs/ directory for each sample.
This commit updates the buildToolsVersion and targetSdkVersion in the build.gradle files of the FileManager, FileProvider, and SafDemos samples. - FileManager: - Updated buildToolsVersion from "29.0.2" to "30.0.3" - FileProvider: - Updated buildToolsVersion from "29.0.3" to "30.0.3" - Updated targetSdkVersion from 29 to 30 - SafDemos: - Updated targetSdkVersion from 29 to 31
This commit updates the Gradle version of the FileManager sample. - Updates the Gradle version to 7.5. - Updates the AGP version to 7.4.2. - Updates the Kotlin version to 1.6.21. - Sets the namespace in the module build file.
This commit updates the Gradle version of the FileProvider sample. - Updates the Gradle version to 7.5. - Updates the AGP version to 7.4.2. - Updates the Kotlin version to 1.6.21. - Sets the namespace in the module build file.
This commit updates the targetSdkVersion in the build.gradle file of the FileProvider sample. - Updated targetSdkVersion from 30 to 31 - Added exported=true to MainActivity
This commit updates the Gradle version of the SafDemos sample. - Updates the Gradle version to 7.5. - Updates the AGP version to 7.4.2. - Updates the Kotlin version to 1.6.21. - Sets the namespace in the module build file. - Added exported=true to MainActivity
@yrezgui I fixed the builds. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR standardizes GitHub Actions triggers in workflow files within
.github/workflows/
.The goal is to ensure workflows run consistently on
push
,pull_request
, andworkflow_dispatch
events where appropriate.This is part of a batch of pull requests across repositories owned by the
android
organization on GitHub.Project Owner: Please review the changes carefully to ensure they are correct and appropriate for this project before approving and merging.