From 2d1f837177e8f559b4eb3fcd97788bb92bbe1762 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 1 May 2024 08:48:31 +0000 Subject: [PATCH] update --- .github/workflows/main.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 44bb951..a520f58 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,6 +23,7 @@ jobs: - name: Build and Test on Default Platform run: | + cd ${{ github.workspace }} go build -v ./... go test -v ./... @@ -97,6 +98,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: Release Go Binary run: | - go build -o backtrace-${{ matrix.goos }}-${{ matrix.goarch }} -v ./... + cd ${{ github.workspace }} + go build -o backtrace-${{ matrix.goos }}-${{ matrix.goarch }} -v ./... \ No newline at end of file