Skip to content

Bump org.json:json from 20140107 to 20231013 #768

Bump org.json:json from 20140107 to 20231013

Bump org.json:json from 20140107 to 20231013 #768

Workflow file for this run

name: CommCare Core Build
on:
push:
branches:
- 'master'
- 'formplayer'
pull_request:
branches:
- 'master'
- 'formplayer'
jobs:
build:
runs-on: ubuntu-latest
env:
JAVA_VERSION: '17'
JOB_GRADLE_VERSION: 7.3
FORMPLAYER_GRADLE_VERSION: 8.1
FORMPLAYER_JAVA_VERSION: '17'
steps:
- uses: actions/checkout@v3
- name: Set environment for Formplayer
if: ${{ github.ref_name == 'formplayer' || github.base_ref == 'formplayer' }}
run: |
echo "JOB_GRADLE_VERSION=${{ env.FORMPLAYER_GRADLE_VERSION }}" >> "$GITHUB_ENV"
echo "JAVA_VERSION=${{ env.FORMPLAYER_JAVA_VERSION }}" >> "$GITHUB_ENV"
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'adopt'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: ${{ env.JOB_GRADLE_VERSION }}
arguments: build