This commit is contained in:
parent
6c77a3954e
commit
35e5977f62
|
@ -4,9 +4,27 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
accept-licenses:
|
||||
first:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Accept all SDK licenses
|
||||
shell: bash
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||
|
||||
- shell: bash
|
||||
env:
|
||||
RUN_ID: ${{ github.run_id }}
|
||||
run: |
|
||||
git config user.name "GitHub Actions"
|
||||
git config user.email noreply@github.com
|
||||
git commit --allow-empty "$RUN_ID"
|
||||
|
||||
second:
|
||||
needs: ["first"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||
|
||||
- shell: bash
|
||||
run: |
|
||||
git log
|
||||
|
|
Loading…
Reference in New Issue