Feat/post build test #6
Workflow file for this run
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: Post build test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| example-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| gradle-version: current | |
| - name: Gradle Build and Publish | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gradle build -x test | |
| - name: Check cyclonedx bom.json in jarfile | |
| run: sh .github/workflows/post-build-test.sh |