Skip to content

Merge pull request #110 from johnmanjiro13/renovate/actions-cache-4.x #46

Merge pull request #110 from johnmanjiro13/renovate/actions-cache-4.x

Merge pull request #110 from johnmanjiro13/renovate/actions-cache-4.x #46

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