aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex <a.kiryukhin@mail.ru>2021-12-05 17:49:53 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2021-12-07 03:08:37 +0300
commit674d9a4a5d0528bbc0c184de2d271004c0e1c831 (patch)
tree58e084ac7fd68922141c334b1112a66edb2bb3f5 /.github
parentbcdbe68ecde049ef62343584bcc26840322c4864 (diff)
first release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..e6fa689
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,32 @@
+name: goreleaser
+
+on:
+ pull_request:
+ push:
+
+permissions:
+ contents: write
+
+jobs:
+ goreleaser:
+ runs-on: ubuntu-latest
+ steps:
+ -
+ name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ -
+ name: Set up Go
+ uses: actions/setup-go@v2
+ with:
+ go-version: 1.17
+ -
+ name: Run GoReleaser
+ uses: goreleaser/goreleaser-action@v2
+ with:
+ distribution: goreleaser
+ version: latest
+ args: release --rm-dist
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file