mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
chore: update workflows (#1385)
This commit is contained in:
parent
2647732b1a
commit
608e1a0f59
35
.github/header-checker-lint.yml
vendored
Normal file
35
.github/header-checker-lint.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
# Copyright 2023 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Presubmit test that ensures that source files contain valid license headers
|
||||
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/header-checker-lint
|
||||
# Install: https://github.com/apps/license-header-lint-gcf
|
||||
|
||||
allowedCopyrightHolders:
|
||||
- 'Google LLC'
|
||||
allowedLicenses:
|
||||
- 'Apache-2.0'
|
||||
sourceFileExtensions:
|
||||
- 'yaml'
|
||||
- 'yml'
|
||||
- 'sh'
|
||||
- 'ts'
|
||||
- 'js'
|
||||
- 'java'
|
||||
- 'md'
|
||||
- 'html'
|
||||
- 'txt'
|
||||
- 'kt'
|
||||
- 'kts'
|
||||
- 'xml'
|
||||
4
.github/workflows/generate-v3.yml
vendored
4
.github/workflows/generate-v3.yml
vendored
@ -15,8 +15,8 @@
|
||||
name: Generate V3 Samples
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 */1 * * *'
|
||||
push:
|
||||
branches: [ main ]
|
||||
repository_dispatch:
|
||||
types: [ generate-v3 ]
|
||||
|
||||
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
|
||||
|
||||
- name: set up Java 11
|
||||
uses: actions/setup-java@v2
|
||||
- name: set up Java 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
|
||||
- name: Uninstall NDK
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user