fix: Use Windows user agent on Android to please Cloudflare bot dete… #24
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
name: "✔️ Check Licenses" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- '**/*.gradle*' | |
- 'gradle/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**/*.gradle*' | |
- 'gradle/**' | |
jobs: | |
check-licenses: | |
name: Check Licenses | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up JDK 17" | |
id: setup-java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: "Check licenses" | |
uses: gradle/actions/setup-gradle@v3 | |
env: | |
JAVA_HOME: ${{ steps.setup-java.outputs.path }} | |
with: | |
arguments: licensee |