Last active
August 7, 2023 15:15
-
-
Save favoyang/c365762ed844fae2d6d97be08e64f654 to your computer and use it in GitHub Desktop.
GitHub actions to create the upm branch. https://medium.com/openupm/how-to-maintain-upm-package-part-1-7b4daf88d4c4#4af4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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