From 0b3ec682f84f9a0f53748a38b2395fa92b7d3658 Mon Sep 17 00:00:00 2001 From: unkmonster <106185616+unkmonster@users.noreply.github.com> Date: Tue, 27 Aug 2024 19:48:34 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0c8fffc..c9b4d79 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -51,11 +51,11 @@ jobs: run: go test -race -covermode atomic -coverprofile=covprofile ./... - name: Install goveralls - if: ${{!startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'}} + if: ${{!startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'}} run: go install github.com/mattn/goveralls@latest - name: Update coverage - if: ${{!startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'}} + if: ${{!startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'}} env: COVERALLS_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}} run: goveralls -coverprofile=covprofile -service=github @@ -64,4 +64,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') uses: softprops/action-gh-release@v2 with: - files: ./bin/* \ No newline at end of file + files: ./bin/*