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