Skip to content
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

upload_releaseとupload_artifactフラグを使うように修正 #1261

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
5 changes: 3 additions & 2 deletions .github/actions/upload-release-and-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
prerelease:
description: "pre-releaseかどうか。"
type: boolean
default: false
default: true
tag_name:
description: "タグ名。"
type: string
Expand All @@ -34,13 +34,14 @@ runs:
using: "composite"
steps:
- name: Upload to Artifacts
if: inputs.artifact_name != ''
if: ${{ inputs.upload_artifact }}
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.artifact_name }}
path: ${{ inputs.files }}

- name: Upload to Release Assets
if: ${{ inputs.upload_release }}
uses: softprops/action-gh-release@v1
with:
prerelease: ${{ inputs.prerelease }}
Expand Down