From ff4cc14d2b937aaf7013a32c280b66abafcecb2e Mon Sep 17 00:00:00 2001 From: adolfokrah Date: Sun, 28 Jul 2024 17:44:05 +0200 Subject: [PATCH] devops: changed version of package --- .github/workflows/create-release.yaml | 8 +++++++- .github/workflows/release-npm.yaml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 6c56abe..f506763 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v2 @@ -49,3 +49,9 @@ jobs: $(git log --oneline $(git describe --tags --abbrev=0)..HEAD) draft: false prerelease: false + + - name: Trigger Release components package workflow + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + event-type: release-created diff --git a/.github/workflows/release-npm.yaml b/.github/workflows/release-npm.yaml index 43d2798..4e822d6 100644 --- a/.github/workflows/release-npm.yaml +++ b/.github/workflows/release-npm.yaml @@ -1,8 +1,8 @@ name: Release components package on: - release: - types: [published] + repository_dispatch: + types: [release-created] jobs: build: