Add an input to skip the actual publishing in the release job #2098
This file contains hidden or 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: CI Build | |
| on: | |
| push: | |
| branches: [ "*" ] | |
| paths-ignore: | |
| - 'mkdocs.yml' | |
| - 'docs/**' | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false # most of the time, we want to see the result in all OS-es | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest, windows-latest ] | |
| jdk-version: [ 17 ] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK ${{ matrix.jdk-version }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.jdk-version }} | |
| - name: Cache Kotlin/Native binaries | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.konan | |
| key: konan-${{ runner.os }} | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Gradle build | |
| run: ./gradlew build --stacktrace --warning-mode all |