Skip to content

Merge pull request #106 from johnmanjiro13/tagpr-from-v0.8.2 #43

Merge pull request #106 from johnmanjiro13/tagpr-from-v0.8.2

Merge pull request #106 from johnmanjiro13/tagpr-from-v0.8.2 #43

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@v4
with:
go-version-file: 'go.mod'
- name: release by goreleaser
uses: goreleaser/goreleaser-action@v5
with:
args: release --rm-dist