Run test on push #4
Workflow file for this run
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: Build | |
run-name: Run test on push | |
on: | |
push: | |
tags: | |
- 'release*' | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Mark start script | |
run: echo Script start2 | |
# - name: Set up JDK 17 | |
# uses: actions/setup-java@v4 | |
# with: | |
# distribution: 'zulu' | |
# java-version: 17 | |
# | |
# - uses: gradle/gradle-build-action@v3 | |
# with: | |
# cache-disabled: true | |
# - name: Setup Gradle | |
# uses: gradle/actions/setup-gradle@v4 | |
# with: | |
# validate-wrappers: true | |
# gradle-home-cache-cleanup: true | |
# - name: Check build-logic | |
# run: ./gradlew check -p build-logic | |
# - name: Build release APK and AAB after test | |
# run: | | |
# ./gradlew test | |
# ./gradlew assembleRelease | |
# ./gradlew bundleRelease | |
# | |
# - name: Upload APK | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: app-release.apk | |
# path: app/build/outputs/apk/release/*.apk | |
# | |
# - name: Upload AAB Bundle | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: app-release.aab | |
# path: app/build/outputs/bundle/release/*.aab | |