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:
parent
5388005912
commit
0f8de79473
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user