Prepare release 3.4.1 #784
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: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '.github/**' | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - nickname: linux jdk17 | |
| java: 17 | |
| os: ubuntu-latest | |
| - nickname: macos jdk17 | |
| java: 17 | |
| os: macos-latest | |
| - nickname: windows jdk17 | |
| java: 17 | |
| os: windows-latest | |
| name: CI Build ${{ matrix.nickname }} | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Spring Gradle Build Action | |
| uses: spring-io/spring-gradle-build-action@v2 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| publish: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| if: github.repository_owner == 'spring-projects' | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Spring Gradle Build Action | |
| uses: spring-io/spring-gradle-build-action@v2 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Build with Gradle | |
| run: ./gradlew -Dmaven.repo.local=$(pwd)/deployment-repository -x test build publishToMavenLocal | |
| - name: Deploy to Artifactory | |
| uses: spring-io/[email protected] | |
| with: | |
| uri: 'https://repo.spring.io' | |
| username: ${{ secrets.ARTIFACTORY_USERNAME }} | |
| password: ${{ secrets.ARTIFACTORY_PASSWORD }} | |
| build-name: 'spring-shell-main' | |
| repository: 'libs-snapshot-local' | |
| folder: 'deployment-repository' | |
| signing-key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| signing-passphrase: ${{ secrets.GPG_PASSPHRASE }} |