Skip to content

Merge pull request #67 from codecrafters-io/release #31

Merge pull request #67 from codecrafters-io/release

Merge pull request #67 from codecrafters-io/release #31

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
publish_tester:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.17.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: v0.177.0
args: release -f main.goreleaser.yml --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}