Update mavenbuild.yml #9
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: Java CI | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots package | |
- name: Display GitHub Workspace | |
run: echo "GitHub Workspace ${GITHUB_WORKSPACE}" | |
- name: List GitHub Workspace | |
run: ls $GITHUB_WORKSPACE | |
- name: Publish Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: jar-file | |
path: "${GITHUB_WORKSPACE}/target/appium_flutterfinder_java-1.0.5.jar" |