maven build with ci (#1) #1
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 and test on release | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK 21 for x64 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "21" | |
| distribution: "temurin" | |
| architecture: x64 | |
| - run: mvn package -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true | |
| - name: "upload release assets" | |
| uses: softprops/action-gh-release@cd28b0f5ee8571b76cfdaa62a30d51d752317477 #https://github.com/softprops/action-gh-release/issues/216 | |
| if: github.ref_type == 'tag' | |
| with: | |
| body: | | |
| :closed_book: File 1 of 1 uploaded: java-xml-grepper.jar | |
| files: | | |
| target/java-xml-grepper.jar | |
| append_body: true |