Skip to content

Commit f4e4ac9

Browse files
authored
build: fix CI (#2680)
1 parent 76b5e15 commit f4e4ac9

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ mkdir -p "/opt/metwork-mfext-${TARGET_DIR}"
3232
mkdir -p buildlogs
3333
export BUILDLOGS=buildlogs
3434

35-
set +x
36-
export TOKEN=${TOKEN}
37-
set -x
38-
3935
make >${BUILDLOGS}/make.log 2>&1 || ( tail -200 ${BUILDLOGS}/make.log ; exit 1 )
4036

4137
OUTPUT=$(git status --short | grep -v buildlogs | grep -v buildcache)

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ jobs:
7777
TAG=${{ steps.SetVariables.outputs.tag }}
7878
DEP_BRANCH=${{ steps.SetVariables.outputs.dep_branch }}
7979
BUILDIMAGE=${{ steps.SetVariables.outputs.buildimage }}
80-
TOKEN=${{ secrets.METWORK_ACCESS_TOKEN }}
8180
docker pull ${BUILDIMAGE}
82-
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"
81+
docker run ${DOCKER_RUN_OPTIONS} -e TOKEN=${{ secrets.METWORK_ACCESS_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"
8382
cat ${{ github.workspace }}/github_output >> ${GITHUB_OUTPUT}
8483
8584
- name: publish buildlogs

0 commit comments

Comments
 (0)