Skip to content

Commit 0fefeb0

Browse files
committed
+changelog-ignore: fix
1 parent 13de28e commit 0fefeb0

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

action.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ runs:
6363
with:
6464
fetch-depth: 0
6565
ref: ${{ env.SOURCE }}
66+
- name: Download GitVersion.yml
67+
if: ${{ env.SHOULD_RUN == 'true' }}
68+
shell: bash
69+
run: |
70+
# test -f "GitVersion.yml"
71+
if [ -f "GitVersion.yml" ]; then
72+
echo "GitVersion.yml exists"
73+
else
74+
echo "GitVersion.yml does not exist"
75+
curl -sSL https://raw.githubusercontent.com/jcdcdev/jcdcdev.Umbraco.GitHub.Build/main/GitVersion.yml -o GitVersion.yml
76+
fi
6677
- name: Check for changes
6778
shell: bash
6879
id: check-for-changes
@@ -125,22 +136,6 @@ runs:
125136
echo "${DIFF_TEXT}"
126137
echo EOF
127138
} >> "$GITHUB_ENV"
128-
- name: Checkout code
129-
uses: actions/checkout@v4
130-
with:
131-
fetch-depth: 0
132-
ref: ${{ env.SOURCE }}
133-
- name: Download GitVersion.yml
134-
if: ${{ env.SHOULD_RUN == 'true' }}
135-
shell: bash
136-
run: |
137-
# test -f "GitVersion.yml"
138-
if [ -f "GitVersion.yml" ]; then
139-
echo "GitVersion.yml exists"
140-
else
141-
echo "GitVersion.yml does not exist"
142-
curl -sSL https://raw.githubusercontent.com/jcdcdev/jcdcdev.Umbraco.GitHub.Build/main/GitVersion.yml -o GitVersion.yml
143-
fi
144139
- name: Install GitVersion
145140
if: ${{ env.SHOULD_RUN == 'true' }}
146141
uses: gittools/actions/gitversion/[email protected]

0 commit comments

Comments
 (0)