From 45a77c731c1f32a88ecff959ca13750951abacfe Mon Sep 17 00:00:00 2001 From: muXxer Date: Wed, 9 Aug 2023 17:30:43 +0200 Subject: [PATCH] Another try --- .github/workflows/test_release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index eb39689b0..cfbe6cc53 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -21,6 +21,9 @@ jobs: steps: - name: Check out code into the Go module directory uses: actions/checkout@v3 + with: + fetch-depth: 0 + - run: git fetch --force --tags - name: CWD run: echo "${{ github.workspace }}" @@ -29,13 +32,13 @@ jobs: run: ls -al - name: Disable dubious ownership check - run: git config --global --add safe.directory "${{ github.workspace }}" + run: git config --system --add safe.directory "${{ github.workspace }}" - - name: Disable dubious ownership check - run: git config --global --add safe.directory "*" + #- name: Disable dubious ownership check + # run: git config --global --add safe.directory "*" - - name: Disable dubious ownership check - run: git config --system --add safe.directory "*" + #- name: Disable dubious ownership check + # run: git config --system --add safe.directory "*" - name: Release HORNET run: goreleaser --verbose --skip-publish --clean