Skip to content

Commit

Permalink
Merge pull request #76 from horizoncd/kilosonc-patch-2
Browse files Browse the repository at this point in the history
fix(image.yaml): not check change when releasing
  • Loading branch information
kilosonc authored Mar 9, 2023
2 parents 1b9bb36 + c9ce5ac commit df797ca
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 df797ca

Please sign in to comment.