Fix release packaging paths for distribution and assets #2
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: Release | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "11" | |
| cache: maven | |
| - name: Build release artifacts | |
| run: mvn -B clean package -Dmaven.test.skip=true | |
| - name: Create GitHub Release and upload assets | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| name: ${{ github.ref_name }} | |
| generate_release_notes: true | |
| files: | | |
| target/FlexDBLink.jar | |
| target/FlexDBLink-exec.jar | |
| target/FlexDBLink-all.jar | |
| target/FlexDBLink-*-all.jar | |
| target/flexdblink-*-all.jar | |
| target/FlexDBLink-sources.jar | |
| target/FlexDBLink-distribution.zip |