Skip to content

Commit

Permalink
Branch Buids
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfordwagner committed Mar 15, 2024
1 parent a34e40f commit 9b6ddfa
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 29 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/go_releaser_branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: go_releaser_branches
on:
- push
- workflow_dispatch
jobs:
go-releaser-branches:
runs-on: ubuntu-latest
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: go=1.21
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: goreleaser=1.24.0
uses: goreleaser/goreleaser-action@v5
with:
version: 1.24.0
install-only: true
- name: task=branches
run: task -t ./taskfiles/tasks/go_releaser.yml is_tag=false
env:
GITHUB_TOKEN: ${{ github.token }}
34 changes: 34 additions & 0 deletions .github/workflows/go_releaser_tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: go_releaser_tags
on:
push:
tags:
- '*'
jobs:
go-releaser-tags:
runs-on: ubuntu-latest
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: go=1.21
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: goreleaser=1.24.0
uses: goreleaser/goreleaser-action@v5
with:
version: 1.24.0
install-only: true
- name: task=tags
run: task -t ./taskfiles/tasks/go_releaser.yml is_tag=true
env:
GITHUB_TOKEN: ${{ github.token }}
29 changes: 0 additions & 29 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit 9b6ddfa

Please sign in to comment.