mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
use version 2 of action
This commit is contained in:
4
.github/workflows/package_dispatch.yml
vendored
4
.github/workflows/package_dispatch.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Dispatch event to monorepo
|
- name: Dispatch event to monorepo
|
||||||
uses: actions/github-script@v4
|
uses: actions/github-script@v2
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
};
|
};
|
||||||
|
|
||||||
await github.repos.createDispatchEvent({
|
await github.repos.createDispatchEvent({
|
||||||
owner: 'Alfresco',
|
owner: context.repo.owner,
|
||||||
repo: 'alfresco-apps',
|
repo: 'alfresco-apps',
|
||||||
event_type: 'package-published',
|
event_type: 'package-published',
|
||||||
client_payload: payload
|
client_payload: payload
|
||||||
|
Reference in New Issue
Block a user