diff options
| author | mo khan <mo@mokhan.ca> | 2021-09-03 10:42:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-09-03 10:42:13 -0600 |
| commit | b729be837fdd1a42aa4faf90d1d8808148f66c7a (patch) | |
| tree | fcc106e6283798190ff30d146d1952d5a50435b7 | |
| parent | 62448bf8c7e3a3cd70beb249fd3c4b0cdd3e170d (diff) | |
install workflow to package and release artifactsv0.1.0
| -rw-r--r-- | .github/workflows/release.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..549b62f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: goreleaser +on: + workflow_dispatch: + push: + tags: + - "v*" +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: http-server + path: dist/* |
