mirror of
https://github.com/actions/checkout.git
synced 2026-05-06 23:19:55 +08:00
Merge 7a020261fa into 900f2210b1
This commit is contained in:
commit
e8c80aa2da
23
pr.yaml
Normal file
23
pr.yaml
Normal file
|
|
@ -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
Block a user