Bump com.github.gmazzo.buildconfig from 5.3.5 to 5.5.0 (#291) #236
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
name: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/gradle-cache | |
- name: Set up java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 17 | |
- name: Set up js stuff | |
run: npm install protobufjs@7.2.6 long@5.2.3 | |
- name: Build and test | |
run: ./gradlew clean check publishToIntegrationRepository --stacktrace --no-daemon | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: integration-repository | |
path: build/repos/integration | |
integration: | |
needs: build | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
kotlin: [ 1.8.22, 1.9.24 ] | |
jdk: [ 11, 17, 21 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/gradle-cache | |
- name: Set up java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: ${{ matrix.jdk }} | |
- uses: actions/download-artifact@v4 | |
with: | |
name: integration-repository | |
path: build/repos/integration | |
- uses: browser-actions/setup-firefox@v1 | |
id: firefox-install | |
- name: Build and test | |
env: | |
FIREFOX_BIN: ${{steps.firefox-install.outputs.firefox-path}} | |
run: ./gradlew "-Dkotlin-integration.version=${{ matrix.kotlin }}" clean build --stacktrace --no-daemon | |
working-directory: gradle-plugin-integration-test |