Skip to content

Commit

Permalink
Test deploy if build action changed
Browse files Browse the repository at this point in the history
  • Loading branch information
baksetercx committed Dec 20, 2024
1 parent a6faefb commit 42cb2a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ jobs:
contents: read
id-token: write
environment: dev
if: ${{ contains(needs.prepare-jobs.outputs.all-changed-files, 'deploy/action.yml') }}
# Changes in build might affect deploy, so we test deploy as well if build has changed.
if: ${{ contains(needs.prepare-jobs.outputs.all-changed-files, 'build/action.yml') || contains(needs.prepare-jobs.outputs.all-changed-files, 'deploy/action.yml') }}
steps:
- name: Checkout this repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 42cb2a9

Please sign in to comment.