Skip to content

update submodule

update submodule #47

name: go-match
on:
workflow_dispatch:
pull_request:
push:
branches:
- dev
- main
tags:
- "*"
jobs:
info:
uses: idelchi/devenv/.github/workflows/info.yml@main
cleanup:
uses: idelchi/devenv/.github/workflows/cleanup.yml@dev
if: github.ref == 'refs/heads/dev'
needs: info
permissions:
actions: write
verify:
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
uses: idelchi/devenv/.github/workflows/task.yml@main
needs: info
next-tag:
uses: idelchi/devenv/.github/workflows/next-tag.yml@main
if: github.ref == 'refs/heads/dev'
needs: verify
prerelease:
uses: idelchi/devenv/.github/workflows/prerelease.yml@main
if: github.ref == 'refs/heads/dev'
needs: next-tag
permissions:
contents: write
actions: write
with:
tag: ${{ needs.next-tag.outputs.next }}-beta
release:
uses: idelchi/devenv/.github/workflows/gorelease.yml@main
if: startsWith(github.ref, 'refs/tags/')
needs: info
permissions:
contents: write