This commit is contained in:
Harsh Shandilya 2023-08-07 11:44:23 +05:30
parent 6c77a3954e
commit 35e5977f62
No known key found for this signature in database
1 changed files with 22 additions and 4 deletions

View File

@ -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