Initial Release of Metrics Project #2
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: Deploy to GitHub | |
on: | |
workflow_dispatch: | |
release: | |
types: [created, published] | |
jobs: | |
publish-release-artifact: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: joshlong/java-version-export-github-action@v28 | |
id: jve | |
- name: Java without Cache | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ steps.jve.outputs.java_major_version }} | |
distribution: 'temurin' | |
- name: Build Metrics | |
run: mvn -U -B clean package | |
- name: Attach CLI to Release on GitHub | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: cli/target/metrics-cli.jar | |
fail_on_unmatched_files: true |