Skip to content

Commit

Permalink
cicd: test
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Aug 15, 2024
1 parent b1d61f6 commit dd37dac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
permissions:
contents: write
pull-requests: write

runs-on: ubuntu-latest
outputs:
tag_name: ${{ steps.release.outputs.tag_name }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dd37dac

Please sign in to comment.