Skip to content

Commit

Permalink
run when common library build complete
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhtranduy committed Sep 16, 2024
1 parent 2c44982 commit 6c7a7af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/product-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ on:
- ".github/workflows/actions/action.yaml"
- ".github/workflows/product-ci.yaml"
- "pom.xml"
workflow_run:
workflows: [ "common-library service ci" ] # Tên workflow của common library
types:
- completed
workflow_dispatch:

jobs:
Build:
runs-on: ubuntu-latest
needs: build-common-library
env:
FROM_ORIGINAL_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.ref == 'refs/heads/main' }}
steps:
Expand Down

0 comments on commit 6c7a7af

Please sign in to comment.