Skip to content

gh actions

gh actions #1

name: go_releaser_branches
on:
- push
- workflow_dispatch
jobs:
go-releaser-branches:
runs-on: ubuntu-latest
# container:
# image: quay.io/bradfordwagner/go-builder:2.6.0-debian_bullseye
steps:
- uses: actions/checkout@v4
- name: Setup go-task
uses: pnorton5432/setup-task@v1
with:
task-version: 3.35.1
- name: task version
run: task --version
- name: checkout taskfiles
uses: actions/checkout@v4
with:
path: taskfiles
repository: bradfordwagner/taskfiles
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Install goreleaser
uses: goreleaser/goreleaser-action@v5
with:
version: 1.24.0
install-only: true
- name: Goreleaser
run: task -t ./taskfiles/tasks/go_releaser.yml is_tag=false
env:
GITHUB_TOKEN: ${{ github.token }}