mirror of https://github.com/actions/checkout.git
Merge 7a020261fa into 0c366fd6a8
This commit is contained in:
commit
98a3e485fe
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
# This workflow will execute on pull request to dev branch
|
||||||
|
|
||||||
|
name: pr-workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: get the code
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: compile the code
|
||||||
|
run: mvn compile
|
||||||
|
- name: test the code
|
||||||
|
run: mvn test
|
||||||
|
- name: create the package
|
||||||
|
run: mvn package
|
||||||
|
|
||||||
Loading…
Reference in New Issue