test github action

This commit is contained in:
zeaslity
2022-11-22 14:27:47 +08:00
parent c3808c034b
commit b04e867136

View File

@@ -5,8 +5,8 @@ name: Maven Package
on:
# Triggers the workflow on push or pull request events but only for the main branch
# push:
## branches: [ main ]
push:
branches: [ main ]
# tags: # tags 更新时触发 workflow
# - 'v*'
pull_request:
@@ -31,11 +31,12 @@ jobs:
cache: maven
- name: Build Maven
run: mvn -B -DskipTests=true package --file pom.xml && \
ls && \
echo "--------------------------------------" && \
pwd && \
echo "--------------------------------------" && \
run: |
mvn -B -DskipTests=true package --file pom.xml
ls
echo "--------------------------------------"
pwd
echo "--------------------------------------"
ls /pro/cpuinfo