Skip to content

Merge branch 'main' into nlam/release-version-1.1.1 #71

Merge branch 'main' into nlam/release-version-1.1.1

Merge branch 'main' into nlam/release-version-1.1.1 #71

Workflow file for this run

name: Run Gradle on PRs
on: pull_request
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
# Disable ios simulator tests for some modules for now because they are flaky
- name: Build with Gradle
<<<<<<< HEAD

Check failure on line 20 in .github/workflows/gradle.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gradle.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
run: ./gradlew build --no-configuration-cache
=======
run: ./gradlew build -x :history:iosSimulatorArm64Test -x :transform:iosSimulatorArm64Test --no-configuration-cache
>>>>>>> main
# Populates ARTIFACTORY_USERNAME and ARTIFACTORY_API_KEY with
# temporary username/password for publishing to packages.atlassian.com
- name: Get publish token
id: publish-token
if: github.ref == 'refs/heads/release'
uses: atlassian-labs/[email protected]
with:
output-modes: environment
# Publishes to Artifactory only on push to the "release" branch.
- name: "Publish"
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
if: github.ref == 'refs/heads/release'
run: chmod 755 gradlew && ./gradlew artifactoryPublish