diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-12-13 15:44:58 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-12-13 15:44:58 +0300 |
commit | 6edcc17eccc25f9ec179828d371a8e80d93a52a6 (patch) | |
tree | e638e99aa02b96f6fe17bb2cedd9a9ddefefc596 | |
parent | cc47f2e55654b459f20520b3c4221473903cbddc (diff) |
Added releaser workflow
-rw-r--r-- | .github/workflows/release.yml | 32 |
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 |