test github action
This commit is contained in:
15
.github/workflows/build-push-docker.yml
vendored
15
.github/workflows/build-push-docker.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user