Skip to content

Add the ability to change File writers and readers and add support for lossless WebP #130

Add the ability to change File writers and readers and add support for lossless WebP

Add the ability to change File writers and readers and add support for lossless WebP #130

name: Dependency Diff Report
on: pull_request
jobs:
report:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'zulu'
java-version: 19
- name: Generate dependency diff report for library
uses: yumemi-inc/gradle-dependency-diff-report@v2
id: report-library
with:
configuration: 'releaseRuntimeClasspath'
modules: |
roborazzi-compose-ios|commonMainImplementationDependenciesMetadata
roborazzi-compose-desktop|commonMainImplementationDependenciesMetadata
roborazzi
roborazzi-compose
roborazzi-compose-preview-scanner-support
- name: Save report-library outputs
run: |
mkdir -p outputs
echo "exists-diff=${{ steps.report-library.outputs.exists-diff }}" > outputs/report-library.txt
- name: Generate dependency diff report for plugin
uses: yumemi-inc/gradle-dependency-diff-report@v2
id: report-plugin
with:
modules: 'roborazzi-gradle-plugin'
configuration: 'runtimeClasspath'
project-dir: 'include-build'
- name: Save report-plugin outputs
run: |
echo "exists-diff=${{ steps.report-plugin.outputs.exists-diff }}" > outputs/report-plugin.txt
- name: Save PR number
if: ${{ github.event_name == 'pull_request' }}
run: |
mkdir -p pr
echo ${{ github.event.number }} > pr/NR
- name: Upload Dependency Diff Artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: dependency-diff
path: outputs/
retention-days: 30
- name: Upload PR Number Artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: pr
path: pr/
retention-days: 30