From 4f355f2749f5b2871a5884cfc63cee3e19f6d31a Mon Sep 17 00:00:00 2001 From: Avery Black Date: Mon, 24 Oct 2022 12:56:49 -0700 Subject: [PATCH] Fix photon-build-action versioning (#535) * Describe tags (Do Not Merge) * Try fetch depth 0 * Remove fetch tags * Remove describe action * Apparently more is broken than I thought (oops) --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 869b043fb..5ead82484 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,6 +53,8 @@ jobs: # Checkout code. - name: Checkout code uses: actions/checkout@v3 + with: + fetch-depth: 0 # Fetch tags. - name: Fetch tags @@ -133,6 +135,8 @@ jobs: steps: # Checkout code. - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Install Java 11. - uses: actions/setup-java@v3 @@ -258,6 +262,8 @@ jobs: steps: # Checkout code. - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Install Java 11. - uses: actions/setup-java@v3