WIP: Automated android branch builds #5
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
on: | |
pull_request: | |
branches: | |
- main | |
# types: | |
# - closed | |
name: Update Android Artifacts | |
permissions: | |
contents: read # write | |
jobs: | |
update-android-branch: | |
# if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
echo Running artifact update on branch ${{ github.ref_name }} | |
git checkout -b main-with-maven | |
git status | |
git remote -vv | |
git fetch --all | |
git show-ref | |
git reset --hard origin/main | |
git status |