From dc0f8cf296127beeaaa2f299eb88eff13a6b4d40 Mon Sep 17 00:00:00 2001 From: Declan Freeman-Gleason Date: Tue, 12 Jan 2021 12:37:41 -0800 Subject: [PATCH] Fetch tags before building server so that the version string is correct (#230) --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6fd2d7369..f2fe0d725 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,10 @@ jobs: # Checkout code. - name: Checkout code uses: actions/checkout@v1 + + # Fetch tags. + - name: Fetch tags + run: git fetch --tags --force # Install Java 11. - name: Install Java 11