CI for 9a68eb2f211cd2890b96afcd0c3d471e00d78083 on 243/merge #2326
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: ci | |
run-name: CI for ${{ github.sha }} on ${{ github.ref_name }} | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
- "release-**" | |
tags: | |
- "v**" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
unit-test: | |
uses: ./.github/workflows/unittest.yaml | |
build: | |
uses: ./.github/workflows/build.yaml | |
publish: | |
if: ${{ (github.ref == 'refs/heads/main') || (github.ref_type == 'tag') }} | |
needs: [ build, unit-test ] | |
uses: ./.github/workflows/publish.yaml | |
with: | |
rock: ${{ needs.build.outputs.rock }} | |
scan: | |
if: ${{ (github.ref == 'refs/heads/main') || (github.ref_type == 'tag') }} | |
needs: publish | |
uses: ./.github/workflows/scan.yaml | |
with: | |
image: ${{ needs.publish.outputs.image }} |