File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232jobs :
3333 setup-build-and-review :
34+ if : 1 == 2
3435 runs-on : ubuntu-latest
3536 outputs :
3637 HAS_SOURCE_CODE_CHANGES : ${{ steps.source-code.outputs.HAS_CHANGES }}
6869 run : echo "The next action version will be - ${{ steps.version.outputs.NEXT_VERSION }}"
6970
7071 build-and-review-pr :
72+ if : 1 == 2
7173 runs-on : ubuntu-latest
7274 needs : [setup-build-and-review]
7375
@@ -251,7 +253,7 @@ jobs:
251253
252254 - name : Setup - Checkout testing repo in the root directory
253255 if : always()
254- uses : actions/checkout@v3
256+ uses : actions/checkout@v4
255257 with :
256258 ref : main
257259 repository : ${{ env.TESTING_REPO }}
@@ -270,7 +272,7 @@ jobs:
270272 echo -e "\nRoot directory contents:"
271273 ls -a
272274
273- echo -e "\ngit-version-lite contents:"
275+ echo -e "\ngit-version-lite (gvl) contents:"
274276 ls -a ./gvl
275277
276278 # --------------------------------------
@@ -326,7 +328,11 @@ jobs:
326328 run : echo ""
327329
328330 - name : When a repo has all of its tags locally
329- run : git fetch -t
331+ run : |
332+ git rev-parse --abbrev-ref HEAD
333+ git pull
334+ git fetch -t
335+
330336
331337 - name : And a new version is requested with fallback-to-no-prefix set
332338 if : always()
@@ -381,6 +387,7 @@ jobs:
381387 ./gvl/test/assert-values-match.sh --name "NEXT_MAJOR_VERSION_NO_PREFIX" --expected "$major" --actual "${{ env.NEXT_MAJOR_VERSION_NO_PREFIX }}"
382388
383389 test-no-base-commits :
390+ if : 1 == 2
384391 runs-on : ubuntu-latest
385392
386393 env :
@@ -583,6 +590,7 @@ jobs:
583590 run : echo ""
584591
585592 test-incrementing :
593+ if : 1 == 2
586594 runs-on : ubuntu-latest
587595
588596 env :
You can’t perform that action at this time.
0 commit comments