Bump com.fasterxml.jackson.core:jackson-databind from 2.18.6 to 2.22.0 #26
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
| # This workflow will build a Java project with Ant | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant | |
| name: Java CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| tags: [ "*" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Read version from properties | |
| id: version | |
| run: echo "VERSION=$(grep '^version' default.properties | sed 's/.*= *//')" >> "$GITHUB_OUTPUT" | |
| - name: Build with Ant | |
| run: ant -noinput -buildfile build.xml | |
| - name: Archive production artifacts | |
| if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: apache-nutch-for-typo3-${{ steps.version.outputs.VERSION }} | |
| path: build/dist/apache-nutch-for-typo3-${{ steps.version.outputs.VERSION }}.tar.gz | |
| - name: Upload release asset | |
| if: ${{ startsWith(github.ref, 'refs/tags/') }} | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh release upload "${{ github.ref_name }}" "build/dist/apache-nutch-for-typo3-${{ steps.version.outputs.VERSION }}.tar.gz" --repo "${{ github.repository }}" |