app dir back

This commit is contained in:
yedf2 2021-09-03 20:54:25 +08:00
parent 7862f46d3d
commit 1cb170331a
3 changed files with 15 additions and 2 deletions

14
.github/workflows/.goreleaser.yml vendored Normal file
View File

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

View File

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