Skip to content

CI for 3a65a878d725cedfbb7d76d9711a3c434276bce8 on 460/merge #2214

CI for 3a65a878d725cedfbb7d76d9711a3c434276bce8 on 460/merge

CI for 3a65a878d725cedfbb7d76d9711a3c434276bce8 on 460/merge #2214

Workflow file for this run

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 }}
secrets:
token: ${{ secrets.PAT_TOKEN }}
scan:
if: ${{ (github.ref == 'refs/heads/main') || (github.ref_type == 'tag') }}
needs: publish
uses: ./.github/workflows/scan.yaml
with:
image: ${{ needs.publish.outputs.image }}