Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/release-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ name: Release Master
on:
workflow_dispatch:
branches: ["master"]
inputs:
skip_deploy:
description: 'Skip maven deploy (use if artifacts already published to Central)'
required: false
default: 'false'
type: choice
options:
- 'false'
- 'true'

jobs:
build:
Expand Down Expand Up @@ -60,7 +69,7 @@ jobs:
git config --global hub.protocol https
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/swagger-api/swagger-codegen.git
- name: Run maven deploy/release
if: env.RELEASE_OK == 'yes'
if: env.RELEASE_OK == 'yes' && github.event.inputs.skip_deploy != 'true'
run: |
mvn --no-transfer-progress -B -Prelease deploy
- name: Set up QEMU
Expand Down
Loading