File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ mkdir -p "/opt/metwork-mfsysmon-${TARGET_DIR}"
2929mkdir -p buildlogs
3030export BUILDLOGS=buildlogs
3131
32+ set +x
33+ export TOKEN=${TOKEN}
34+ set -x
35+
3236make > ${BUILDLOGS} /make.log 2>&1 || ( tail -200 ${BUILDLOGS} /make.log ; exit 1 )
3337
3438OUTPUT=$( git status --short | grep -v buildlogs | grep -v buildcache)
Original file line number Diff line number Diff line change 9898 TAG=${{ steps.SetVariables.outputs.tag }}
9999 DEP_BRANCH=${{ steps.SetVariables.outputs.dep_branch }}
100100 BUILDIMAGE=${{ steps.SetVariables.outputs.buildimage }}
101+ TOKEN=${{ secrets.METWORK_ACCESS_TOKEN }}
101102 docker pull ${BUILDIMAGE}
102- docker run ${DOCKER_RUN_OPTIONS} -e TARGET_DIR=${TARGET_DIR} -e BRANCH=${BRANCH} -e DEP_BRANCH=${DEP_BRANCH} -e TAG=${TAG} -e OS_VERSION=${OS_VERSION} --rm ${BUILDIMAGE} /bin/bash -c "${DOCKER_WORKFLOW_SCRIPTS_DIR}/build.sh"
103+ docker run ${DOCKER_RUN_OPTIONS} -e TOKEN=${TOKEN} -e TARGET_DIR=${TARGET_DIR} -e BRANCH=${BRANCH} -e DEP_BRANCH=${DEP_BRANCH} -e TAG=${TAG} -e OS_VERSION=${OS_VERSION} --rm ${BUILDIMAGE} /bin/bash -c "${DOCKER_WORKFLOW_SCRIPTS_DIR}/build.sh"
103104 cat ${{ github.workspace }}/github_output >> ${GITHUB_OUTPUT}
104105
105106 - name : publish buildlogs
You can’t perform that action at this time.
0 commit comments