chore(deps-dev): bump org.mockito:mockito-junit-jupiter from 5.22.0 to 5.23.0 #64
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
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: write | |
| actions: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: maven | |
| - name: Build Plugin | |
| run: | | |
| mvn clean install -U | |
| - name: Get short commit hash | |
| id: vars | |
| run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
| - name: Package artifacts | |
| run: | | |
| mkdir -p dist | |
| cp target/*.jar dist | |
| - name: Upload build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: dist/* | |
| - name: Create Release | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ steps.vars.outputs.hash }} | |
| name: Commit ${{ steps.vars.outputs.hash }} | |
| files: dist/* | |
| prerelease: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |