fix(deps): update dependency org.eclipse.platform:org.eclipse.ui.forms to v3.13.0 #421
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Java CI with Gradle | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ci-tests-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# - name: debug | |
# run: echo "${{ toJSON(github.event)}}" | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'zulu' | |
- name: Setup Gradle | |
id: build-gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build with Gradle | |
run: ./gradlew build --stacktrace | |
- name: Upload build reports | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-reports | |
path: "**/build/reports/*" | |
- name: Upload Test Report | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: junit-test-results | |
path: '**/build/test-results/test/TEST-*.xml' | |
retention-days: 1 | |
- name: Comment with build scan url | |
uses: actions/github-script@v6 | |
if: github.event_name == 'pull_request' && failure() | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: '❌ ${{ github.workflow }} failed: ${{ steps.build.outputs.build-scan-url }}' | |
}) | |
- name: Publish snapshot when on master | |
uses: gradle/gradle-build-action@v2 | |
if: success() && github.event_name != 'pull_request' && github.ref == 'refs/heads/master' | |
env: | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }} | |
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ORG_GRADLE_PROJECT_OSSRHUSERNAME }} | |
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ORG_GRADLE_PROJECT_OSSRHPASSWORD }} | |
with: | |
arguments: publish -Ppublish.central=true -Psemver.stage=snapshot | |
# This job will update the PR with the JUnit report | |
# In order to be able to make the most of it this job in particular has | |
# augmented permissions. | |
junit-report: | |
name: JUnit Report | |
if: | | |
failure() | |
&& github.event_name == 'pull_request' | |
needs: [ build ] | |
permissions: | |
checks: write # for mikepenz/action-junit-report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Test Report | |
uses: actions/download-artifact@v3 | |
with: | |
name: junit-test-results | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
with: | |
check_name: Test Report | |
commit: ${{github.event.workflow_run.head_sha}} | |
report_paths: '**/build/test-results/test/TEST-*.xml' |