Skip to content

Commit

Permalink
Only build artifacts when tests complete AND on main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
GinoCanessa committed Aug 29, 2024
1 parent b0f185e commit a921e18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ghcr-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflow_run:
workflows: ['Tests']
types: [completed]
branches:
- main

env:
REGISTRY: ghcr.io
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nuget-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflow_run:
workflows: ['Tests']
types: [completed]
branches:
- main

jobs:
build:
Expand Down

0 comments on commit a921e18

Please sign in to comment.