feat: add an optional input to keep the Android SDK #14
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
| # .github/workflows/test_action.yaml | |
| name: Test Action | |
| on: [push] | |
| jobs: | |
| pristine-ubuntu: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-22.04 | |
| - ubuntu-22.04-arm | |
| - ubuntu-24.04 | |
| - ubuntu-24.04-arm | |
| runs-on: ${{ matrix.os }} | |
| name: Test cleaned Ubuntu | |
| steps: | |
| - name: Check disk space | |
| run: | | |
| df -h | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Clean Ubuntu | |
| if: ${{ runner.environment == 'github-hosted' }} | |
| uses: ./ # Uses an action in the root directory | |
| - name: Check disk space immediately after run (not waiting for completion) | |
| run: | | |
| df -h | |
| - name: Setup go (v5) | |
| uses: actions/setup-go@v5 | |
| - name: Setup go (v6) | |
| uses: actions/setup-go@v5 | |
| - name: Setup dotnet (v4) | |
| uses: actions/setup-dotnet@v4 | |
| - name: Setup dotnet (v5) | |
| uses: actions/setup-dotnet@v5 | |
| - name: Setup java (v4) | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: microsoft | |
| java-version: 25 | |
| - name: Setup java (v5) | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: microsoft | |
| java-version: 25 | |
| - name: Setup node (v4) | |
| uses: actions/setup-node@v4 | |
| - name: Setup node (v5) | |
| uses: actions/setup-node@v5 | |
| - name: Setup node (v6) | |
| uses: actions/setup-node@v6 | |
| - name: Setup python (v4) | |
| uses: actions/setup-python@v4 | |
| - name: Setup python (v5) | |
| uses: actions/setup-python@v5 | |
| - name: Setup python (v6) | |
| uses: actions/setup-python@v6 | |
| - name: Check disk space at end | |
| run: | | |
| df -h | |