From 9faedcf4ac46bac9b439725f37ffae55330cc499 Mon Sep 17 00:00:00 2001 From: tsai Date: Tue, 5 Dec 2023 14:39:53 +0800 Subject: [PATCH] Fix --- .github/workflows/elixir.yml | 2 +- .github/workflows/upstream.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index ca070792b..c0a17387b 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -65,7 +65,7 @@ jobs: python3 -m pip install mlir=="${{ inputs.mlir_wheel_version }}" -f https://makslevental.github.io/wheels -U echo "LLVM_CONFIG_PATH=$(python3 -c 'import mlir;print(mlir.__path__[0])')/bin/llvm-config" >> "$GITHUB_ENV" - name: Install MLIR (latest) - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.mlir_wheel_version == '') || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'use-latest-mlir')) + if: inputs.mlir_wheel_version == 'latest' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'use-latest-mlir')) run: | python3 -m pip install mlir -f https://makslevental.github.io/wheels -U echo "LLVM_CONFIG_PATH=$(python3 -c 'import mlir;print(mlir.__path__[0])')/bin/llvm-config" >> "$GITHUB_ENV" diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 015b1a10e..b18437759 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -24,4 +24,4 @@ jobs: pull-requests: write uses: ./.github/workflows/elixir.yml with: - mlir_wheel_version: ${{ inputs.mlir_wheel_version }} + mlir_wheel_version: ${{ inputs.mlir_wheel_version || 'latest' }}