Skip to content

Commit 1a5537c

Browse files
Log out some values & make sure it's up to date
1 parent c431f84 commit 1a5537c

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/build-and-review-pr.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131

3232
jobs:
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 }}
@@ -68,6 +69,7 @@ jobs:
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:

0 commit comments

Comments
 (0)