Skip to content

fix(tron): add missing tron: URI scheme prefix to TRC20 payment links #35

fix(tron): add missing tron: URI scheme prefix to TRC20 payment links

fix(tron): add missing tron: URI scheme prefix to TRC20 payment links #35

Workflow file for this run

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"