This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
Commands: remove useless check on OP #136
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 with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
if: "!contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, 'Docs:') && !contains(github.event.commits[0].message, 'Readme:')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: FlectoneChat | |
path: target |