Skip to content

chore: migrate to .NET 10 and BTCPay Server v2.3.9 #24

chore: migrate to .NET 10 and BTCPay Server v2.3.9

chore: migrate to .NET 10 and BTCPay Server v2.3.9 #24

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
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 -v -X POST "https://plugin-builder.btcpayserver.org/api/v1/plugins/${{ env.pluginSlug }}/builds" \
-H "Content-Type: application/json" \
-H "Authorization: Basic $(echo -n '${{ secrets.API_USERNAME }}:${{ secrets.API_PASSWORD }}' | base64)" \
-d '{
"GitRef": "${{ env.GIT_REF }}"
}'
env:
pluginSlug: "tether-usdt"