Skip to content

Commit e9c193e

Browse files
committed
release workflow fix
1 parent f456d3c commit e9c193e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
git config --global hub.protocol https
6161
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:[email protected]/swagger-api/swagger-codegen.git
6262
- name: Run maven deploy/release
63-
if: env.RELEASE_OK == 'nope'
63+
if: env.RELEASE_OK == 'yes'
6464
run: |
6565
mvn --no-transfer-progress -B -Prelease deploy
6666
- name: Set up QEMU
@@ -72,15 +72,15 @@ jobs:
7272
docker login --username=${{ secrets.DOCKERHUB_SB_USERNAME }} --password=${{ secrets.DOCKERHUB_SB_PASSWORD }}
7373
set -e
7474
- name: Build generator image and push
75-
if: env.RELEASE_OK == 'nope'
75+
if: env.RELEASE_OK == 'yes'
7676
uses: docker/build-push-action@v5
7777
with:
7878
context: ./modules/swagger-generator
7979
push: true
8080
provenance: false
8181
tags: swaggerapi/swagger-generator:${{ env.SC_RELEASE_TAG }},swaggerapi/swagger-generator:latest
8282
- name: Build CLI image and push
83-
if: env.RELEASE_OK == 'nope'
83+
if: env.RELEASE_OK == 'yes'
8484
uses: docker/build-push-action@v5
8585
with:
8686
context: ./modules/swagger-codegen-cli

0 commit comments

Comments
 (0)