ARI4Java ARI Versions Wiki Update #32
This file contains hidden or 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: ARI4Java ARI Versions Wiki Update | |
| on: | |
| schedule: | |
| - cron: '0 10 * * SAT' | |
| workflow_dispatch: | |
| jobs: | |
| getApis: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout Project | |
| uses: actions/checkout@v4 | |
| - name: Checkout Wiki | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{github.repository}}.wiki | |
| path: codegen/tmp/wiki | |
| - name: Execute getVersions | |
| run: | | |
| cd codegen | |
| chmod +x getVersions.sh | |
| ./getVersions.sh | |
| - name: Push Wiki | |
| run: | | |
| cd codegen/tmp/wiki | |
| git config --local user.email "action@github.com" | |
| git config --local user.name "GitHub Action" | |
| git add . | |
| git diff-index --quiet HEAD || git commit -m "Update Versions" && git push |