use version 2 of action

This commit is contained in:
mauriziovitale
2023-03-15 13:44:08 +00:00
parent b3c07c9789
commit 003c1f2a24

View File

@@ -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