summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authora1e7cb88 <[email protected]>2021-10-19 19:08:14 +0800
committerKurenai <[email protected]>2021-10-19 19:08:14 +0800
commitffaf5deb45310418424eaf3b9204e129bcc6fa18 (patch)
treef534c1f79eed12c14bc0e2959b7eea2afebe3935 /.github/workflows/release.yml
parent9fd0b9515f53908f85bbb36f1c9063ee1384d55f (diff)
Add workflow config
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d1d4dcc..2ae3bd1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,8 +12,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- with:
- fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
@@ -23,12 +21,10 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
- # either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
- args: release --rm-dist
+ args: release --rm-dist -f ../.github/goreleaser.yml
workdir: mkvtool
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
- # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
+ PROJECT_NAME: "mkvtool"