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:
381381
382382 - name : Build setup-cpp-${{matrix.container.distro }}-mingw
383383 id : build_mingw
384- if : ${{ !contains( matrix.container.distro, 'fedora') }}
384+ if : ${{ matrix.container.distro != 'fedora' }}
385385 uses : docker/build-push-action@v6
386386 with :
387387 context : .
@@ -394,11 +394,12 @@ jobs:
394394 cache-to : type=inline
395395
396396 - name : Tag latest locally
397+ if : ${{ matrix.container.distro != 'fedora' }}
397398 run : |
398399 docker tag aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
399400
400401 - 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' }}
402403 run : docker push aminya/${{ matrix.container.image }}-mingw:latest
403404
404405 - name : Docker Readme for setup-cpp-${{matrix.container.distro }}-mingw
@@ -411,7 +412,7 @@ jobs:
411412 readme-filepath : ./README_DOCKER.md
412413
413414 - 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' }}
415416 uses : docker/build-push-action@v6
416417 with :
417418 context : .
You can’t perform that action at this time.
0 commit comments