Skip to content

Commit 1ef681c

Browse files
authored
chore: move git-semver to v0.2.7 (#29)
Signed-off-by: Roger Barker <roger@pandaswhocode.com>
1 parent c56e606 commit 1ef681c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ runs:
2424
run: |
2525
if [[ "${{ inputs.version }}" == "latest" ]]; then
2626
# clone the latest version
27-
git clone https://github.com/PandasWhoCode/git-semver.git
27+
git clone --depth 1 https://github.com/PandasWhoCode/git-semver.git
28+
cd git-semver
29+
git fetch origin 4af2d24294f6fb4de5584f4f5c7cd4d29b609909 # v0.2.7
30+
git checkout 4af2d24294f6fb4de5584f4f5c7cd4d29b609909 # v0.2.7
31+
cd ..
2832
else
2933
# clone the specified version
3034
git clone --branch ${{ inputs.version }} https://github.com/PSanetra/git-semver.git

0 commit comments

Comments
 (0)