mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-28 15:14:19 +00:00
Update workflows
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -34,13 +34,19 @@ jobs:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
- name: Repository Dispatch
|
||||
- name: Test repository dispatch
|
||||
uses: ./
|
||||
with:
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
event-type: tests
|
||||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
||||
|
||||
- name: Test repository dispatch (default payload)
|
||||
uses: ./
|
||||
with:
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
event-type: tests
|
||||
|
||||
package:
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
needs: [test]
|
||||
|
||||
Reference in New Issue
Block a user