diff --git a/.github/actions/build-vllm/action.yml b/.github/actions/build-vllm/action.yml index bd812b7..6051647 100644 --- a/.github/actions/build-vllm/action.yml +++ b/.github/actions/build-vllm/action.yml @@ -2,8 +2,8 @@ name: Build vLLM wheels inputs: docker_latest: - default: false - type: boolean + default: 0 + type: string docker_token: default: ~ @@ -62,7 +62,7 @@ runs: tags.push(`ghcr.io/${context.repo.owner}/vllm:${core.getInput('ref')}`); // If this image marked as latest - if (core.getBooleanInput('docker_latest')) { + if (core.getInput('docker_latest') === "1") { // Add latest to tags tags.push(`ghcr.io/${context.repo.owner}/vllm:latest`); } diff --git a/.github/actions/common/apply-patches/action.yml b/.github/actions/common/apply-patches/action.yml index e9487bd..4b56369 100644 --- a/.github/actions/common/apply-patches/action.yml +++ b/.github/actions/common/apply-patches/action.yml @@ -47,10 +47,16 @@ runs: fi done + # Do not exit on errors + set +e + # Capture tag tag=$(git describe --exact-match --tags) tag_code=$? + # Exit on errors + set -e + # Commit changes git add . git commit --allow-empty --message "(pascal-pkgs-ci) Apply patches" diff --git a/.github/workflows/vllm-pascal-0.6.2.yml b/.github/workflows/vllm-pascal-0.6.2.yml index 89ec957..cc9c587 100644 --- a/.github/workflows/vllm-pascal-0.6.2.yml +++ b/.github/workflows/vllm-pascal-0.6.2.yml @@ -11,7 +11,7 @@ jobs: - name: Build vLLM wheels uses: ./.github/actions/build-vllm with: - docker_latest: true + docker_latest: 1 docker_token: ${{ secrets.GHCR_TOKEN }} ref: v0.6.2