mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
9fa63c7547
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
21 lines
860 B
YAML
21 lines
860 B
YAML
name: "Analysis"
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master, stable-* ]
|
|
|
|
jobs:
|
|
analysis:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: "adopt"
|
|
java-version: 11
|
|
- name: Run analysis wrapper
|
|
run: |
|
|
mkdir -p $HOME/.gradle
|
|
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
|
|
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} $GITHUB_REF ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ github.event.pull_request.number }}
|