Skip to content

Merge pull request #112 from johnmanjiro13/renovate/github.com-stretc… #49

Merge pull request #112 from johnmanjiro13/renovate/github.com-stretc…

Merge pull request #112 from johnmanjiro13/renovate/github.com-stretc… #49

Workflow file for this run

name: tagpr
on:
push:
branches: ["main"]
jobs:
tagpr:
runs-on: ubuntu-latest
outputs:
tagpr-tag: ${{ steps.run-tagpr.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- id: run-tagpr
uses: Songmu/tagpr@v1
release:
needs: tagpr
if: needs.tagpr.outputs.tagpr-tag != ''
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: release by goreleaser
uses: goreleaser/goreleaser-action@v5
with:
args: release --rm-dist