Update workflows

This commit is contained in:
Peter Evans
2020-05-04 18:03:09 +09:00
parent afd1745cdd
commit 0bda5274a2

View File

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