update release script

This commit is contained in:
xvzc 2022-03-11 10:52:10 +09:00
parent 483926e534
commit a03d119cf0

View File

@ -12,7 +12,7 @@ jobs:
# ... # ...
- name: "Build & test" - name: "Build & test"
run: | run: |
GOOS=linux GOARCH=amd64 go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi GOOS=linux GOARCH=amd64 go build ./cmd/... && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi
- uses: "marvinpinto/action-automatic-releases@latest" - uses: "marvinpinto/action-automatic-releases@latest"
with: with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"