Skip to content

fix: #53 fix task container selection #47

fix: #53 fix task container selection

fix: #53 fix task container selection #47

Workflow file for this run

name: Create Release
on:
push:
tags:
- "*.*.*"
jobs:
Release:
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.18
- name: Install dependencies
run: |
go mod tidy
# reset go.sum and go.mod so goreleaser won't complain about dirty git state
git checkout HEAD -- go.sum go.mod
- name: Run tests
run: go test -v ./internal
- name: Build
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}