v3.1.1 🌈 #48
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: | |
| - 'v*' | |
| release: | |
| types: | |
| - 'published' | |
| jobs: | |
| Release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set env | |
| env: | |
| TAG: ${{ github.ref_name }} | |
| run: echo "VERSION=${TAG:1}" >> $GITHUB_ENV | |
| - name: Run unit tests and build JAR | |
| run: ./gradlew dist | |
| - name: upload artifacts | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/dist/* |