File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ jobs:
381
381
382
382
- name : Build setup-cpp-${{matrix.container.distro }}-mingw
383
383
id : build_mingw
384
- if : ${{ !contains( matrix.container.distro, 'fedora') }}
384
+ if : ${{ matrix.container.distro != 'fedora' }}
385
385
uses : docker/build-push-action@v6
386
386
with :
387
387
context : .
@@ -394,11 +394,12 @@ jobs:
394
394
cache-to : type=inline
395
395
396
396
- name : Tag latest locally
397
+ if : ${{ matrix.container.distro != 'fedora' }}
397
398
run : |
398
399
docker tag aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
399
400
400
401
- name : Push latest to Docker Hub
401
- if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
402
+ if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' && matrix.container.distro != 'fedora' }}
402
403
run : docker push aminya/${{ matrix.container.image }}-mingw:latest
403
404
404
405
- name : Docker Readme for setup-cpp-${{matrix.container.distro }}-mingw
@@ -411,7 +412,7 @@ jobs:
411
412
readme-filepath : ./README_DOCKER.md
412
413
413
414
- name : Test Mingw
414
- if : ${{ !contains(github.event.head_commit.message, '[skip test]') && !contains( matrix.container.distro, 'fedora') }}
415
+ if : ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'fedora' }}
415
416
uses : docker/build-push-action@v6
416
417
with :
417
418
context : .
You can’t perform that action at this time.
0 commit comments