Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66a65ef

Browse files
committed
Add workflow input to do deploy in release
1 parentc9eb8ec commit66a65ef

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

‎.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name:Release on demand
22

3-
on:[workflow_dispatch]
3+
on:
4+
workflow_call:
5+
inputs:
6+
deploy:
7+
description:"Deploy to Maven Central"
8+
required:true
9+
default:false
10+
type:boolean
411

512
jobs:
613
build:
@@ -28,7 +35,7 @@ jobs:
2835
-name:Release
2936
run:script/build
3037
env:
31-
HUDSON:false
38+
HUDSON:${{ github.event.inputs.deploy }}
3239
MAVEN_USERNAME:${{ secrets.OSSRH_USERNAME }}
3340
MAVEN_PASSWORD:${{ secrets.OSSRH_PASSWORD }}
3441
GPG_PASSPHRASE:${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp