Fix new Docker workflow skip logic.
Austin S. Hemmelgarn committed
Mar 6, 2024 at 08:57 UTC
a0c2b9c723cc88add9e37243e0a0d5bcef4a4bfa
1 file changed
-4
.github/workflows/docker.yml
-4
@@ -32,9 +32,6 @@ jobs:
32
outputs:
33
run: ${{ steps.check-run.outputs.run }}
34
steps:
35
- - name: Skip File Check
36
- if: github.event_name == 'workflow_dispatch'
37
- run: echo 'run=true' >> "${GITHUB_OUTPUT}"
35
- name: Checkout
36
id: checkout
37
if: github.event_name != 'workflow_dispatch'
@@ -88,7 +85,6 @@ jobs:
85
done
86
- name: Check Run
87
id: check-run
91
- if: github.event_name != 'workflow_dispatch'
88
run: |
89
if [ "${{ steps.check-files.outputs.any_modified }}" == "true" ] || [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
90
echo 'run=true' >> "${GITHUB_OUTPUT}"