fix publishing #1386
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: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: ['main'] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| BUILD_NUMBER: ${{ github.GITHUB_RUN_NUMBER }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Check | |
| run: ./gradlew -S --info check | |
| timeout-minutes: 10 | |
| - name: test artifacts | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: ziti/build/test-results/test/*.xml | |
| - name: Build | |
| run: ./gradlew build assemble | |
| # - name: check samples build | |
| # run: | | |
| # cd samples | |
| # ../gradlew --info --include-build=.. build | |
| # |