diff options
| author | mo khan <mo@mokhan.ca> | 2021-11-12 11:01:55 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-11-12 11:02:06 -0700 |
| commit | 7f73797af4ec0e293c87cc58258b05dd6f906e83 (patch) | |
| tree | 2b78c15d93e2bd18df23eb0fe7d3707cceab7fca /.github/workflows | |
| parent | b03bebc74246b6b5284c7bddcb3f37f414c7e822 (diff) | |
chore: install goreleaserv0.1.0
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..444a3b7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: goreleaser +on: + workflow_dispatch: + push: + tags: + - "v*" +permissions: + contents: write +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/setup-go@v2 + with: + go-version: 1.17 + - uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/upload-artifact@v2 + with: + name: proxy-server + path: dist/* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
