Skip to content

[SDK-558] feat: refactored symbol edit logic and added symbol remove logic #42

[SDK-558] feat: refactored symbol edit logic and added symbol remove logic

[SDK-558] feat: refactored symbol edit logic and added symbol remove logic #42

name: Update unity sdk
on:
pull_request:
branches:
- develop
types: [closed]
jobs:
update-submodule:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout repo with submodule
uses: actions/checkout@v3
with:
repository: "readyplayerme/Unity-SDK"
submodules: true
fetch-depth: 0
ref: develop
token: ${{ secrets.DEV_SDK_TOKEN }}
- name: Update submodule
run: |
cd Assets/Ready\ Player\ Me/Core
git checkout develop
git pull origin develop
- name: Commit and push changes
run: |
git config --global user.name "dev-sdk"
git config --global user.email "[email protected]"
git add .
git commit -m 'Update submodule'
git push origin develop