Try to create separate artifacts for Spring and Experimental languages #4874
Workflow file for this run
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: "UTBot Java: build and run tests" | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'unit-test-bot/r**' | |
pull_request: | |
branches: | |
- 'main' | |
- 'unit-test-bot/r**' | |
jobs: | |
build-and-run-tests: | |
uses: ./.github/workflows/build-and-run-tests-from-branch.yml | |
secrets: inherit | |
publish_plugin: | |
needs: build-and-run-tests | |
uses: ./.github/workflows/publish-plugin-from-branch.yml | |
with: | |
# upload artifacts on push action to main only | |
upload-artifact: ${{ github.event_name == 'push' }} | |
secrets: inherit | |
publish_cli: | |
needs: build-and-run-tests | |
uses: ./.github/workflows/publish-cli-from-branch.yml | |
with: | |
# upload artifacts on push action to main only | |
upload-artifact: ${{ github.event_name == 'push' }} | |
secrets: inherit | |
publish-cli-image: | |
needs: build-and-run-tests | |
if: ${{ github.event_name == 'push' }} | |
uses: ./.github/workflows/publish-cli-image-from-branch.yml | |
secrets: inherit |