move goreleaser to helper

This commit is contained in:
yedf2 2021-09-03 20:59:50 +08:00
parent 6561f53cbd
commit a42e60c385
2 changed files with 1 additions and 15 deletions

View File

@ -1,14 +0,0 @@
# .goreleaser.yml
project_name: dtm
builds:
- env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
id: 'dtm'
dir: .
main: ./app/main

View File

@ -19,6 +19,6 @@ jobs:
- name: Create release on GitHub - name: Create release on GitHub
uses: docker://goreleaser/goreleaser:latest uses: docker://goreleaser/goreleaser:latest
with: with:
args: release -f .github/workflows/.goreleaser.yml --rm-dist args: release -f helper/.goreleaser.yml --rm-dist
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}