Update workflow to use mirrored actions repos and correct build jobs
This commit is contained in:
parent
e18199304f
commit
68b649da44
1 changed files with 5 additions and 24 deletions
|
@ -17,15 +17,7 @@ jobs:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: https://git.wbrawner.com/gradle/wrapper-validation-action@v1
|
||||||
- name: Enable auto-merge
|
|
||||||
if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot' }}
|
|
||||||
run: gh pr merge --auto --rebase "$PR_URL"
|
|
||||||
env:
|
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
unit_test:
|
|
||||||
name: Run Unit Tests
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- validate
|
- validate
|
||||||
|
@ -37,9 +29,9 @@ jobs:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: https://git.wbrawner.com/gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: testPlayDebugUnitTest
|
arguments: testDebugUnitTest
|
||||||
- name: Publish JUnit Results
|
- name: Publish JUnit Results
|
||||||
uses: dorny/test-reporter@v1
|
uses: dorny/test-reporter@v1
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -61,17 +53,6 @@ jobs:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: https://git.wbrawner.com/gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: assemblePlayDebug assemblePlayDebugAndroidTest
|
arguments: assembleDebug assembleDebugAndroidTest
|
||||||
- name: Grant execute permission for flank_auth.sh
|
|
||||||
run: chmod +x flank_auth.sh
|
|
||||||
- name: Add auth for flank
|
|
||||||
env:
|
|
||||||
GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }}
|
|
||||||
run: |
|
|
||||||
./flank_auth.sh
|
|
||||||
- name: Run UI tests
|
|
||||||
uses: gradle/gradle-build-action@v2
|
|
||||||
with:
|
|
||||||
arguments: runFlank
|
|
||||||
|
|
Loading…
Reference in a new issue