From c77cdd96f64782c142341c7d987d20d7295f2635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Fri, 5 Jan 2024 09:22:47 +0100 Subject: [PATCH] Integrate changes to `build.yml` from #386 --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 530797370..ed65400be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,6 +55,9 @@ jobs: detekt: name: Detekt runs-on: ubuntu-latest + env: + USERNAME: ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 - name: Set up JDK 17 @@ -75,6 +78,9 @@ jobs: dependency-analysis: name: Dependency Analysis runs-on: ubuntu-latest + env: + USERNAME: ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 - name: Set up JDK 17 @@ -88,6 +94,7 @@ jobs: run: ./gradlew buildHealth - name: Archive analysis report uses: actions/upload-artifact@v3 + if: failure() with: name: dependency-analysis-report path: build/reports/dependency-analysis/build-health-report.txt