Skip to content

test: add scripts test (#16) #10

test: add scripts test (#16)

test: add scripts test (#16) #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
release-created: ${{ steps.release.outputs.release_created }}
tag-name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release please
uses: googleapis/release-please-action@v4
id: release
with:
release-type: go
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: release-please
if: ${{ needs.release-please.outputs.release-created }}
steps:
- uses: actions/checkout@v4
- uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}