add option to display item frame content #49
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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
env: | |
VERSION: 5.4-SNAPSHOT | |
on: | |
push: | |
branches: [ 5.4-SNAPSHOT ] | |
# pull_request: | |
# branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt-hotspot' | |
java-version: 17 | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Create Release | |
id: create_release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TAG_NAME: ${{ env.VERSION }}.${{ github.run_number }} | |
run: | | |
gh release create v${{ env.TAG_NAME }} -t WhatIsThis-${{ env.TAG_NAME }} --target ${{ env.VERSION }} | |
- name: Upload Release Asset | |
id: upload-release-asset | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TAG_NAME: ${{ env.VERSION }}.${{ github.run_number }} | |
ASSET_NAME: WhatIsThis-${{ env.VERSION }}.jar | |
run: | | |
gh release upload v${{ env.TAG_NAME }} "target/${{ env.ASSET_NAME }}#${{ env.ASSET_NAME }}" | |
# - name: Upload to Artifactory | |
# id: upload-to-artifactory | |
# uses: advancedcsg-open/action-jfrog-cli@master | |
# with: | |
# url: 'https://steve4744.jfrog.io/artifactory/' | |
# credentials type: 'username' | |
# user: ${{ secrets.RT_USER }} | |
# password: ${{ secrets.RT_PASSWORD }} | |
# args: u "target/WhatIsThis-${{ env.VERSION }}.jar" "steve4744-repo/io.github.steve4744/WhatIsThis/${{ env.VERSION }}/" |