mirror of
https://github.com/actions/checkout.git
synced 2026-06-17 01:27:38 +08:00
Merge 7a020261faef93d083a5588d91eb462663104f87 into f9e715a95fcd1f9253f77dd28f11e88d2d6460c7
This commit is contained in:
commit
94079844dc
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…
x
Reference in New Issue
Block a user