Testing with function ptrs. #4444
This file contains 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: Update-Loc-Repo | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
build_type: [Release] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: true | |
- name: Clone the repo. | |
run: | | |
sudo git config --global user.email "[email protected]" | |
sudo git config --global user.name "realtimechris" | |
sudo git clone https://realtimechris:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/realtimechris/Jsonifier-Code-Only --depth=1 | |
- name: Copy the files over. | |
run: | | |
sudo cp -r ./Include/* ./Jsonifier-Code-Only/ | |
- name: Commit and push the changes to the repo. | |
working-directory: ./Jsonifier-Code-Only | |
run: | | |
sudo git checkout --orphan newBranch | |
sudo git add . | |
sudo git commit -m "Updates." | |
sudo git branch -D main | |
sudo git branch -m main | |
sudo git push origin main -f | |