Skip to content

fix(deps): update dependency com.gradle.publish:plugin-publish-plugin to v1.2.1 #455

fix(deps): update dependency com.gradle.publish:plugin-publish-plugin to v1.2.1

fix(deps): update dependency com.gradle.publish:plugin-publish-plugin to v1.2.1 #455

Workflow file for this run

name: Diffuse
on:
pull_request:
branches:
- master
- main
- trunk
- develop
- maine
- mane
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
run-diffuse:
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
shell: bash
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
- uses: actions/cache@v3
name: Download base
with:
path: diffuse-base-file
key: diffuse-${{ github.event.pull_request.base.sha }}-always-cache-miss
restore-keys: diffuse-${{ github.event.pull_request.base.sha }}
- name: Assemble
uses: gradle/gradle-build-action@v2
with:
arguments: assemble -PskipJarVersion
- id: diffuse
uses: usefulness/diffuse-action@master
with:
old-file-path: diffuse-base-file
new-file-path: android/build/libs/android.jar
- uses: peter-evans/find-comment@v2
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: Diffuse output
- uses: peter-evans/create-or-update-comment@v3
if: ${{ steps.diffuse.outputs.diff-gh-comment != null || steps.find_comment.outputs.comment-id != null }}
with:
body: |
Diffuse output:
${{ steps.diffuse.outputs.diff-gh-comment }}
edit-mode: replace
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: diffuse-output
path: ${{ steps.diffuse.outputs.diff-file }}