X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/e4a4788d5efde9c68c2d5464adddde4c94dd81a8..3e280c77a9791d5302b41271ac6ef3178a6a1459:/.github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6c3f08c..3f3e7d8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,11 @@ name: signal-cli CI -on: [ push, pull_request, workflow_call ] +on: + push: + branches: + - '**' + pull_request: + workflow_call: jobs: build: @@ -8,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '17', '18' ] + java: [ '17', '19' ] steps: - uses: actions/checkout@v3 @@ -17,6 +22,7 @@ jobs: with: distribution: 'adopt' java-version: ${{ matrix.java }} + cache: 'gradle' - name: Build with Gradle run: ./gradlew --no-daemon build - name: Compress archive @@ -37,6 +43,7 @@ jobs: with: version: 'latest' java-version: '17' + cache: 'gradle' components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build with Gradle