[Rt-commit] rt branch, 5.0/github-actions-fetch-tags, created. rt-5.0.1-425-gf468dea6cd

? sunnavy sunnavy at bestpractical.com
Sat May 29 04:05:04 EDT 2021


The branch, 5.0/github-actions-fetch-tags has been created
        at  f468dea6cdb465a2839569def02668165496c484 (commit)

- Log -----------------------------------------------------------------
commit f468dea6cdb465a2839569def02668165496c484
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat May 29 15:59:28 2021 +0800

    Fetch RT tags for github actions
    
    We need tag info to determine current RT version(via "git describe"),
    otherwise we wouldn't know anything about RT version and tests depending
    on version could fail.

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index fa2dcd82cf..94ff437c6b 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -14,6 +14,8 @@ jobs:
           echo "RT_GA_START_TIME=$(date +%s)" >> $GITHUB_ENV
       - name: Check out RT
         uses: actions/checkout at v2
+        with:
+          fetch-depth: 0
       - name: Build RT
         env:
           RT_TEST_PARALLEL: 1
@@ -61,6 +63,8 @@ jobs:
           echo "RT_GA_START_TIME=$(date +%s)" >> $GITHUB_ENV
       - name: Checkout RT
         uses: actions/checkout at v2
+        with:
+          fetch-depth: 0
       - name: Build RT
         env:
           RT_TEST_PARALLEL: 1
@@ -117,6 +121,8 @@ jobs:
           echo "RT_GA_START_TIME=$(date +%s)" >> $GITHUB_ENV
       - name: Checkout RT
         uses: actions/checkout at v2
+        with:
+          fetch-depth: 0
       - name: Build RT
         env:
           DB_VERSION_TAG: 9.6

-----------------------------------------------------------------------


More information about the rt-commit mailing list