From d8e4c11872619ab4e5dc1375e9a2cef57b5f1700 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Wed, 4 Mar 2020 17:40:22 +0100 Subject: [PATCH] Update GitVersion action from v0.3 to v0.9.1 (#6061) --- .github/workflows/deployment.yml | 40 ++++++++++---------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index d38d7bd9179..f3647c493ba 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -43,24 +43,16 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v2-beta - with: - fetch-depth: 0 - - name: Fetch tags and master for GitVersion - run: | - git fetch --tags origin - git rev-parse --verify master - if (-not $?) { - git branch --force --create-reflog master origin/master - } - shell: pwsh + uses: actions/checkout@v2 + - name: Fetch all history for all tags and branches + run: git fetch --prune --unshallow - name: Install GitVersion - uses: gittools/actions/setup-gitversion@v0.3 + uses: gittools/actions/gitversion/setup@v0.9.1 with: - versionSpec: '5.1.2' + versionSpec: '5.1.3' - name: Run GitVersion id: gitversion - uses: gittools/actions/execute-gitversion@v0.3 + uses: gittools/actions/gitversion/execute@v0.9.1 - name: Set up JDK uses: actions/setup-java@v1 with: @@ -146,24 +138,16 @@ jobs: needs: [build] steps: - name: Checkout source - uses: actions/checkout@v2-beta - with: - fetch-depth: 0 - - name: Fetch tags and master for GitVersion - run: | - git fetch --tags origin - git rev-parse --verify master - if (-not $?) { - git branch --force --create-reflog master origin/master - } - shell: pwsh + uses: actions/checkout@v2 + - name: Fetch all history for all tags and branches + run: git fetch --prune --unshallow - name: Install GitVersion - uses: gittools/actions/setup-gitversion@v0.3 + uses: gittools/actions/gitversion/setup@v0.9.1 with: - versionSpec: '5.1.2' + versionSpec: '5.1.3' - name: Run GitVersion id: gitversion - uses: gittools/actions/execute-gitversion@v0.3 + uses: gittools/actions/gitversion/execute@v0.9.1 - name: Get linux binaries uses: actions/download-artifact@master with: