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: