ci(publish): bump version to 3.0.0-SNAPSHOT, publish snapshots on pus… #79
This file contains 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 build and push | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- v[0-9]+ | ||
- v[0-9]+.[0-9]+ | ||
- cryostat-v[0-9]+.[0-9]+ | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
- run: mvn -B -U clean verify | ||
publish-snapshot: | ||
uses: ./.github/workflows/maven-central-release.yml | ||
Check failure on line 22 in .github/workflows/push-ci.yml GitHub Actions / .github/workflows/push-ci.ymlInvalid workflow file
|
||
if: github.repository_owner == 'cryostatio' |