From dd37dace5a334d7d83ef5cb394ada2d4f6e37c9f Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:09:14 +0900 Subject: [PATCH] cicd: test --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a031441..5197013 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,6 @@ jobs: permissions: contents: write pull-requests: write - runs-on: ubuntu-latest outputs: tag_name: ${{ steps.release.outputs.tag_name }} @@ -46,10 +45,12 @@ jobs: env: GOOS: darwin GOARCH: amd64 + env: + TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release upload ${{ needs.draft_release.outputs.tag_name }} "spoof-dpi-$GOOS-$GOARCH.tar.gz" + gh release upload $TAG_NAME "spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: # needs: draft_release