Skip to content

Commit

Permalink
update debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Oct 20, 2019
1 parent 8203fbd commit ed23739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
echo REPO_NAME=$REPO_NAME
export WORK_PATH=$HOME/work/$REPO_NAME
echo WORK_PATH=$WORK_PATH
ls $WORK_PATH
export MAVEN_PATH=$WORK_PATH/.m2
mkdir $MAVEN_PATH
echo "test">$MAVEN_PATH/test.txt
Expand All @@ -30,5 +31,5 @@ jobs:
echo ::set-env name=REPO_NAME::$REPO_NAME
echo ::set-env name=WORK_PATH::$WORK_PATH
- name: docker - mvn clean
run: docker run --user $(id -u):$(id -g) -v $WORK_PATH:/build -w "/build/${REPO_NAME}/${REPO_NAME}" -v ${MAVEN_DIR}:/build/.m2 $BUILD_IMAGE pwd && ls -l . && ls -l /build && ls -l /build/.m2
run: docker run --user $(id -u):$(id -g) -v $WORK_PATH:/build -w "/build/${REPO_NAME}/${REPO_NAME}" -v ${MAVEN_DIR}:/build/.m2 $BUILD_IMAGE pwd && ls -l . && ls -l /build/.m2
# run: docker run --user $(id -u):$(id -g) -v $WORK_PATH:/build -w "/build/${REPO_NAME}/${REPO_NAME}" -v ${MAVEN_DIR}:/build/.m2 $BUILD_IMAGE mvn clean -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -B -P all-modules -q -Dmaven.repo.local=/build/.m2/repository && echo "CLEAN DONE"

0 comments on commit ed23739

Please sign in to comment.