1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

build: notify goreleaser-cross about new release (#3685)

Signed-off-by: Artur Troian <troian.ap@gmail.com>

Signed-off-by: Artur Troian <troian.ap@gmail.com>
This commit is contained in:
Artur Troian 2023-01-09 12:45:29 -05:00 committed by GitHub
parent 5388005912
commit 0f8de79473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,21 @@ jobs:
ref: main
token: ${{ secrets.GH_PAT }}
workflow: generate-releases.yml
notify-goreleaser-cross:
runs-on: ubuntu-latest
needs: [ trigger-generate ]
steps:
- name: get version
if: startsWith(github.ref, 'refs/tags/v')
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: notify goreleaser-cross with new release
if: startsWith(github.ref, 'refs/tags/v')
uses: benc-uk/workflow-dispatch@v121
with:
token: ${{ secrets.GH_PAT }}
repo: goreleaser/goreleaser-cross
workflow: goreleaser-bump
inputs: '{ "tag" : "${{ env.RELEASE_TAG }}" }'
goreleaser-check-pkgs:
runs-on: ubuntu-latest
env: