Rust sdk : update to 0.2.42 #2239
Workflow file for this run
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: Record screenshots | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [ labeled ] | |
# Enrich gradle.properties for CI/CD | |
env: | |
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx5g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC -Dsonar.gradle.skipCompile=true | |
jobs: | |
record: | |
name: Record screenshots on branch ${{ github.event.pull_request.head.ref || github.ref_name }} | |
runs-on: ubuntu-latest | |
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'Record-Screenshots' | |
steps: | |
- name: Remove Record-Screenshots label | |
if: github.event.label.name == 'Record-Screenshots' | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
labels: Record-Screenshots | |
- name: ⏬ Checkout with LFS (PR) | |
if: github.event.label.name == 'Record-Screenshots' | |
uses: nschloe/action-cached-lfs-checkout@v1.2.2 | |
with: | |
persist-credentials: false | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }} | |
- name: ⏬ Checkout with LFS (Branch) | |
if: github.event_name == 'workflow_dispatch' | |
uses: nschloe/action-cached-lfs-checkout@v1.2.2 | |
with: | |
persist-credentials: false | |
- name: ☕️ Use JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: '17' | |
# Add gradle cache, this should speed up the process | |
- name: Configure gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
cache-read-only: ${{ github.ref != 'refs/heads/develop' }} | |
- name: Record screenshots | |
id: record | |
run: ./.github/workflows/scripts/recordScreenshots.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }} | |
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} |