Skip to content

Instantly share code, notes, and snippets.

@favoyang
Last active August 7, 2023 15:15
Show Gist options
  • Save favoyang/c365762ed844fae2d6d97be08e64f654 to your computer and use it in GitHub Desktop.
Save favoyang/c365762ed844fae2d6d97be08e64f654 to your computer and use it in GitHub Desktop.
name: CI
on:
push:
branches:
- master
jobs:
split-upm:
name: split upm branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: split upm branch
run: |
git subtree split -P "$PKG_ROOT" -b upm
git push -u origin upm
env:
PKG_ROOT: Packages/package-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment