mirror of
https://github.com/actions/checkout.git
synced 2026-03-29 02:29:55 +08:00
added changes
This commit is contained in:
parent
0c366fd6a8
commit
bd5c14db95
22
pr.yaml
Normal file
22
pr.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
# 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