File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed
Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 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]
You can’t perform that action at this time.
0 commit comments