Skip to content

Ver 2024.2.26 Preview #21

Ver 2024.2.26 Preview

Ver 2024.2.26 Preview #21

Workflow file for this run

name: upm-ci
on:
push:
branches:
- master
jobs:
split-upm:
name: split upm branch (force)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: split upm branch
run: |
git branch -d upm &> /dev/null || echo upm branch not found
git checkout master
git checkout -b upm
if [[ -d "Samples" ]]; then
git mv Samples Samples~
rm -f Samples.meta
git config --global user.name 'github-bot'
git config --global user.email '[email protected]'
git commit -am "fix: Samples => Samples~"
fi
if [[ -d "Extension" ]]; then
git mv Extension Extension~
rm -f Extension.meta
git config --global user.name 'github-bot'
git config --global user.email '[email protected]'
git commit -am "fix: Extension => Extension~"
fi
git push -f -u origin upm