File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,16 @@ jobs:
113
113
NPM_TOKEN_API_DOCUMENTER : ${{ secrets.NPM_TOKEN_API_DOCUMENTER }}
114
114
CI : true
115
115
- name : Launch E2E tests workflow
116
- uses : peter-evans/repository-dispatch@v2
117
- with :
118
- token : ${{ secrets.OSS_BOT_GITHUB_TOKEN }}
119
- repository : firebase/firebase-js-sdk
120
- event-type : staging-tests
121
- client-payload : ' {"versionOrTag": "${{ steps.get-version.outputs.STAGING_VERSION }}"}'
116
+ # Trigger e2e-test.yml
117
+ run : |
118
+ OSS_BOT_GITHUB_TOKEN=${{ secrets.OSS_BOT_GITHUB_TOKEN }}
119
+ VERSION_OR_TAG=${{ steps.get-version.outputs.STAGING_VERSION }}
120
+ curl -X POST \
121
+ -H "Content-Type:application/json" \
122
+ -H "Accept:application/vnd.github.v3+json" \
123
+ -H "Authorization:Bearer $OSS_BOT_GITHUB_TOKEN" \
124
+ -d "{\"event_type\":\"staging-tests\", \"client_payload\":{\"versionOrTag\":\"$VERSION_OR_TAG\"}}" \
125
+ https://api.github.com/repos/firebase/firebase-js-sdk/dispatches
122
126
- name : Log to release tracker
123
127
# Sends release information to cloud functions endpoint of release tracker.
124
128
run : |
You can’t perform that action at this time.
0 commit comments