X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/5b5644574114a898b66277e144dbe279ef58effe..32fdd382bd47889bfd8282891a86fe3e49d6304b:/.github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06ffe066..5976805e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: workflow_call: permissions: - contents: read # to fetch code (actions/checkout) + contents: write # to fetch code (actions/checkout) and submit dependency graph (gradle/gradle-build-action) jobs: build: @@ -25,7 +25,10 @@ jobs: with: distribution: 'zulu' java-version: ${{ matrix.java }} - cache: 'gradle' + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + with: + dependency-graph: generate-and-submit - name: Build with Gradle run: ./gradlew --no-daemon build - name: Compress archive @@ -47,7 +50,6 @@ jobs: version: 'latest' java-version: '17' cache: 'gradle' - components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build with Gradle run: ./gradlew --no-daemon nativeCompile