Skip to content

Update-Sample

Update-Sample #2

Workflow file for this run

name: Update-Sample
on: workflow_dispatch
jobs:
update-sample:
name: Update Sample
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Announce repo
run: echo ${{ github.event.inputs.name }}
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Execute
run: |
cd to-build/sdl3-sample
git config pull.rebase false
git pull
- name: git config
run: |
git config user.name github-actions[bot]
git config user.email 22283943+github-actions[bot]@users.noreply.github.com
git stash
git pull
git stash pop
- name: git commit
run: git add . && git commit -m "Update android-project"
- name: git push
run: git push origin HEAD:main