diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7babb5c..df6683c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,8 +43,9 @@ jobs: token: ${{secrets.github_token}} - name: Create Release uses: ncipollo/release-action@v1 - if: github.ref == 'refs/heads/master' with: artifacts: 'build/distributions/apex-ast-serializer.zip' token: ${{ secrets.GITHUB_TOKEN }} tag: '${{ steps.current-time.outputs.formattedTime }}-${{ steps.buildnumber.outputs.build_number }}' + - name: Send event to prettier-plugin-apex + run: 'curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.PERSONAL_TOKEN }}" --request POST --data \'{"event_type": "jorje-update", "client_payload": { "release": "${{ steps.current-time.outputs.formattedTime }}-${{ steps.buildnumber.outputs.build_number }}" }}\' https://api.github.com/repos/dangmai/prettier-plugin-apex/dispatches'