Skip to content

Commit

Permalink
fix(image.yaml): not check change when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
kilosonc authored Mar 9, 2023
1 parent 1b9bb36 commit c9ce5ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
fetch-depth: 20
- uses: dorny/paths-filter@v2
if: ${{ !startsWith(github.ref_name, 'v') }}
id: changes
with:
filters: |
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
- name: Condition
id: condition
run: |
echo "run=${{ (steps.changes.outputs.go == 'true' && (matrix.components == 'core' || matrix.components == 'job')) || (steps.changes.outputs.api == 'true' && matrix.components == 'swagger') }}" >> $GITHUB_OUTPUT
echo "run=${{ startsWith(github.ref_name, 'v') || ((steps.changes.outputs.go == 'true' && (matrix.components == 'core' || matrix.components == 'job')) || (steps.changes.outputs.api == 'true' && matrix.components == 'swagger')) }}" >> $GITHUB_OUTPUT
- name: Set up QEMU
if: ${{ matrix.platforms != 'linux/amd64' && steps.condition.outputs.run == 'true' }}
Expand Down

0 comments on commit c9ce5ac

Please sign in to comment.