Skip to content

Feature/ecom timer (#23) #28

Feature/ecom timer (#23)

Feature/ecom timer (#23) #28

Workflow file for this run

name: release
on:
push:
tags:
- v*.*.*
- v*.*.*-rc.*
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Extract Tag Name
id: extract_tag
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "tag=${TAG_NAME}" >> $GITHUB_ENV
- name: Dispatch PHP SDK
uses: peter-evans/repository-dispatch@v3
with:
repository: kodypay/kody-clientsdk-php
client-payload: '{"tag": "${{ env.tag }}", "repository": "${{ github.repository }}"}'
event-type: tag-push
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
# - name: Dispatch Kotlin SDK
# uses: peter-evans/repository-dispatch@v3
# with:
# repository: kodypay/kody-clientsdk-kotlin
# client-payload: '{"tag": "${{ env.tag }}", "repository": "${{ github.repository }}"}'
# event-type: tag-push
# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}