mirror of
https://github.com/geoserver/geoserver-cloud.git
synced 2024-10-23 09:14:35 +08:00
Remove 'Build on any branch' job
This commit is contained in:
parent
34e50d01bb
commit
e4a6263144
49
.github/workflows/build.yaml
vendored
49
.github/workflows/build.yaml
vendored
@ -1,49 +0,0 @@
|
||||
# Builds and pushes docker images on main and tags
|
||||
|
||||
name: Build on any branch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
- "!main"
|
||||
paths:
|
||||
- "Makefile"
|
||||
- "pom.xml"
|
||||
- ".github/workflows/build.yaml"
|
||||
- "config"
|
||||
- "src/**"
|
||||
- "acceptance_tests/**"
|
||||
- "ci/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
cache: 'maven'
|
||||
|
||||
- name: Validate source code formatting
|
||||
run: make lint
|
||||
|
||||
- name: Build and test
|
||||
run: |
|
||||
make install test
|
||||
|
||||
- name: Build docker images
|
||||
run: |
|
||||
make build-image
|
||||
|
||||
- name: Remove project jars from cached repository
|
||||
run: |
|
||||
rm -rf ~/.m2/repository/org/geoserver
|
||||
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {}
|
Loading…
Reference in New Issue
Block a user