Update dependency software.amazon.awssdk:bom to v2.31.7 #1946
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: Device farm tractor project build, test and publish results workflow | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'adopt' | |
| java-version: 11 | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Cache Gradle packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
| restore-keys: ${{ runner.os }}-gradle | |
| - name: Build with Gradle | |
| run: ./gradlew build test | |
| - name: Publish Unit Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v1.40 | |
| if: always() | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| files: build/test-results/**/*.xml | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v3 | |
| if: always() | |
| with: | |
| name: test_results | |
| path: | | |
| build/reports/tests | |
| build/test-results | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
| if: always() | |
| with: | |
| BRANCH: gh-pages # The branch the action should deploy to. | |
| FOLDER: build/reports/tests/test # The folder the action should deploy. | |
| CLEAN: true # Automatically remove deleted files from the deploy |