-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build.ymlのbuild部分とupload部分を一貫させる #1257
The head ref may contain hidden characters: "upload-distributable-to-release\u3092\u89E3\u4F53"
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: "Upload Release Aassets and Artifacts" | ||
description: | | ||
releaseのassetとartifactにアップロードする。 | ||
release・artifactにアップロードするかはそれぞれ制御できる。 | ||
|
||
inputs: | ||
files: | ||
description: "アップロードするファイルのパス。ワイルドカードも使える。複数指定する場合は改行で区切る。" | ||
type: string | ||
required: true | ||
upload_release: | ||
description: "releaseにアップロードするか。" | ||
type: boolean | ||
default: false | ||
upload_artifact: | ||
description: "artifactにアップロードするか。" | ||
type: boolean | ||
default: false | ||
prerelease: | ||
description: "pre-releaseかどうか。" | ||
type: boolean | ||
default: false | ||
tag_name: | ||
description: "タグ名。" | ||
type: string | ||
target_commitish: | ||
description: "タグを付けるコミットID。" | ||
type: string | ||
artifact_name: | ||
description: "artifact名。" | ||
type: string | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Upload to Artifacts | ||
if: inputs.artifact_name != '' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ inputs.artifact_name }} | ||
path: ${{ inputs.files }} | ||
|
||
- name: Upload to Release Assets | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
prerelease: ${{ inputs.prerelease }} | ||
tag_name: ${{ inputs.tag_name }} | ||
files: ${{ inputs.files }} | ||
target_commitish: ${{ inputs.target_commitish }} | ||
Comment on lines
+33
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 修正PR出しました #1261 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ jobs: | |
|
||
- name: typos-action | ||
uses: crate-ci/[email protected] | ||
with: | ||
files: ". .github" | ||
Comment on lines
+19
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @y-chan typosが.githubに対して働いていなかったので追加してみました。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
こういう便利Action、別リポジトリで持っておいてVOICEVOX Org内の他からも気軽に使えるようにしたいかも。