-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d7e8bf
commit e4a7bf1
Showing
9 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
cancel-in-progress: true | ||
steps: | ||
- name: Remove Run-Maestro label | ||
if: ${{ github.event.label.name == 'Run-Maestro' }} | ||
if: ${{ !github.event.pull_request.fork && github.event.label.name == 'Run-Maestro' }} | ||
uses: actions-ecosystem/action-remove-labels@v1 | ||
with: | ||
labels: Run-Maestro | ||
|
@@ -35,16 +35,19 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- uses: actions/setup-java@v4 | ||
name: Use JDK 17 | ||
if: ${{ !github.event.pull_request.fork }} | ||
with: | ||
distribution: 'temurin' # See 'Supported distributions' for available options | ||
java-version: '17' | ||
- name: Assemble debug APK | ||
if: ${{ !github.event.pull_request.fork }} | ||
run: ./gradlew :app:assembleDebug $CI_GRADLE_ARG_PROPERTIES | ||
env: | ||
ELEMENT_ANDROID_MAPTILER_API_KEY: ${{ secrets.MAPTILER_KEY }} | ||
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }} | ||
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }} | ||
- uses: mobile-dev-inc/[email protected] | ||
if: ${{ !github.event.pull_request.fork }} | ||
with: | ||
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} | ||
# Doc says (https://github.com/mobile-dev-inc/action-maestro-cloud#android): | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
name: Validate Git LFS | ||
|
||
on: [pull_request, merge_group] | ||
on: | ||
pull_request: | ||
types: [ synchronize, labeled ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Validate | ||
if: ${{ !github.event.label.name || github.event.label.name == 'Force CI run' }} | ||
steps: | ||
- uses: nschloe/[email protected] | ||
|
||
|