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