Skip to content

Commit a1a197b

Browse files
committed
workflows: Fix tarball download for libclang-abi-tests
1 parent 452500e commit a1a197b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/libclang-abi-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
remote_repo='https://github.com/llvm/llvm-project'
4242
if [ ${{ steps.version.outputs.LLVM_VERSION_MINOR }} -ne 0 -o ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
4343
major_version=$(( ${{ steps.version.outputs.LLVM_VERSION_MAJOR }} - 1))
44-
baseline_ref="$major_version.0.0"
44+
baseline_ref="llvmorg-$major_version.0.0"
4545
4646
# If there is a minor release, we want to use that as the base line.
4747
minor_ref=`git ls-remote --refs -t $remote_repo llvmorg-$major_version.[1-9].[0-9] | tail -n1 | grep -o 'llvmorg-.\+' || true`
@@ -60,7 +60,7 @@ jobs:
6060
echo ::set-output name=ABI_LIBS::libclang.so
6161
else
6262
echo ::set-output name=BASELINE_VERSION_MAJOR::${{ steps.version.outputs.LLVM_VERSION_MAJOR }}
63-
echo ::set-output name=BASELINE_REF::${{ steps.version.outputs.LLVM_VERSION_MAJOR }}.0.0
63+
echo ::set-output name=BASELINE_REF::llvmorg-${{ steps.version.outputs.LLVM_VERSION_MAJOR }}.0.0
6464
echo ::set-output name=ABI_HEADERS::.
6565
echo ::set-output name=ABI_LIBS::libclang.so libclang-cpp.so
6666
fi

0 commit comments

Comments
 (0)