Feature/ftc 1795 extract semantic version action#3
Open
avramenkovladyslav wants to merge 9 commits intodevelopfrom
Open
Feature/ftc 1795 extract semantic version action#3avramenkovladyslav wants to merge 9 commits intodevelopfrom
avramenkovladyslav wants to merge 9 commits intodevelopfrom
Conversation
howelse
reviewed
Aug 1, 2025
a139bb5 to
bb1c6c6
Compare
howelse
reviewed
Aug 1, 2025
| @@ -0,0 +1,27 @@ | |||
| name: "Semantic version" | |||
| description: "Configure semantic versioning based on git tags or branch names" | |||
| inputs: | |||
Contributor
There was a problem hiding this comment.
you can use github.* context variables directly from composite actions
howelse
reviewed
Aug 1, 2025
| @@ -0,0 +1,27 @@ | |||
| name: "Semantic version" | |||
Contributor
There was a problem hiding this comment.
update build-dotnet-app.yml file within this PR so that we can test this action in practice
howelse
reviewed
Aug 1, 2025
| - name: Configure version | ||
| id: version | ||
| run: | | ||
| if [[ "${{inputs.github_ref_type}}" == "tag" ]]; then |
Contributor
There was a problem hiding this comment.
follow github code style ${{ var }} (add spaces)
howelse
reviewed
Aug 1, 2025
| with: | ||
| fetch-depth: 0 | ||
| - name: Configure version | ||
| id: version |
Contributor
There was a problem hiding this comment.
you need to define action output
outputs:
name:
description: Determined semantic version number
value: ${{ steps.version.outputs.number }}
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.
No description provided.