From 05c3e6f46d0c9086f75795a86fe2ce076580d1b1 Mon Sep 17 00:00:00 2001 From: HIMANSHU SHARMA Date: Sun, 28 Feb 2021 20:55:22 +0530 Subject: [PATCH] Update android-release.yml --- .github/workflows/android-release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 4ef5a3f..007f751 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -9,16 +9,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Fetch all history for all tags and branches - run: | - git fetch --prune --depth=10000 + with: + fetch-depth: 0 - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v0.9.2 + uses: gittools/actions/gitversion/setup@v0.9.7 with: - versionSpec: "5.2.x" + versionSpec: "5.x" - name: Use GitVersion id: gitversion - uses: gittools/actions/gitversion/execute@v0.9.2 + uses: gittools/actions/gitversion/execute@v0.9.7 - name: Create version.txt with nuGetVersion run: echo ${{ steps.gitversion.outputs.nuGetVersion }} > version.txt - name: Upload version.txt