Repository navigation
feat(mise): expose installed tool versions output - #54
Merged
Merged
Conversation
GitHub Actions Integration
✅ All 1 passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👋 Background
mise.setup-tools호출자가 설치된 도구의 실제 버전과 경로를 후속 스텝에서 조회할 수 있도록versionsoutput을 제공합니다.⚙️ Description
jdx/mise-action의versionsoutput을 그대로 전달합니다.version,requested_version,install_path,source를 포함하는 객체 배열을 값으로 갖는 JSON입니다.id: tools를 지정하면steps.tools.outputs.versions로 전체 JSON을 조회할 수 있습니다. Node가 설치된 경우${{ fromJSON(steps.tools.outputs.versions).node[0].version }}으로 버전을 읽을 수 있습니다.🚨 To Reviewers
변경 범위는 액션 메타데이터의 output 선언 3줄입니다.
검증 완료:
git diff --checkyamllint .github/actions/mise.setup-tools/action.yamluvx check-jsonschema --builtin-schema vendor.github-actions .github/actions/mise.setup-tools/action.yaml실제 GitHub Actions 실행에서 output을 사용하는 통합 테스트는 수행하지 않았습니다.