Files
Fonepay-Unity/.github/workflows/upm-split.yml
Savya Bikram Shah 5515a88cf5 readne created
2026-05-07 17:55:36 +05:45

23 lines
640 B
YAML

name: Publish UPM
on:
push:
branches: [main]
paths: ['Packages/com.darkmattergameproduction.fonepay-unity/**']
workflow_dispatch:
jobs:
split:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Split subtree to upm branch
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git subtree split --prefix=Packages/com.darkmattergameproduction.fonepay-unity -b upm
git push origin upm --force