showing name of the folder on form after selecting #1345
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
pmd_scan: | |
name: "PMD Scan" | |
runs-on: ubuntu-latest | |
if: > | |
github.event_name == 'pull_request' && | |
!contains(github.event.head_commit.message, '[skip pmd]') && | |
!contains(github.event.head_commit.message, '[force]') | |
steps: | |
- uses: Alfresco/[email protected] | |
with: | |
fail-on-new-issues: "false" | |
create-github-annotations: "false" | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 18 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 18 | |
- uses: actions/cache@v2 | |
name: Cache gradle | |
with: | |
path: | | |
~/.m2 | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/libs.versions.toml') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build | |
run: ./gradlew assembleDebug | |
- name: Store Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: libs | |
path: ./app/build/outputs/apk/**/*.apk |