fix(tron): add missing tron: URI scheme prefix to TRC20 payment links #36
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Plugin on Tag | |
| on: | |
| push: | |
| tags: | |
| - "[0-9]+.[0-9]+.[0-9]+" | |
| - "[0-9]+.[0-9]+.[0-9]+-[a-zA-Z0-9]+.[0-9]+" | |
| jobs: | |
| build-plugin: | |
| runs-on: ubuntu-latest | |
| environment: publish | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Extract GitRef (version tag) | |
| run: echo "GIT_REF=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
| - name: Call API to create a build | |
| run: | | |
| curl --fail-with-body -v -X POST "https://plugin-builder.btcpayserver.org/api/v1/plugins/${{ env.pluginSlug }}/builds" \ | |
| -u "$API_USERNAME:$API_PASSWORD" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "GitRef": "${{ env.GIT_REF }}" | |
| }' | |
| env: | |
| API_USERNAME: ${{ secrets.API_USERNAME }} | |
| API_PASSWORD: ${{ secrets.API_PASSWORD }} | |
| pluginSlug: "tether-usdt" |