Skip to content

Commit 26c8fdf

Browse files
committed
fix
1 parent 9c5eddf commit 26c8fdf

File tree

7 files changed

+2
-24
lines changed

7 files changed

+2
-24
lines changed

.github/actions/Build_LLVM/action.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
name: 'Builds LLVM'
22
description: 'This action builds LLVM for native platforms'
3-
inputs:
4-
cache-hit:
5-
required: true
6-
7-
on:
8-
workflow_call:
9-
inputs:
10-
cache-hit:
11-
required: true
12-
type: boolean
133

144
runs:
155
using: composite
166
steps:
177
- name: Build LLVM/Cling if the cache is invalid
18-
if: ${{ inputs.cache-hit != 'true' && runner.os != 'Windows' }}
8+
if: ${{ steps.cache.outputs.cache-hit != 'true' && runner.os != 'Windows' }}
199
shell: bash
2010
run: |
2111
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
@@ -95,7 +85,7 @@ runs:
9585
9686
9787
- name: Build LLVM/Cling on Windows systems if the cache is invalid
98-
if: ${{ inputs.cache-hit != 'true' && runner.os == 'Windows' }}
88+
if: ${{ steps.cache.outputs.cache-hit != 'true' && runner.os == 'Windows' }}
9989
shell: powershell
10090
run: |
10191

.github/workflows/MacOS-arm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ jobs:
159159
brew install ninja
160160
161161
- uses: ./.github/actions/Build_LLVM
162-
with:
163-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
164162

165163
- name: Save Cache LLVM/Clang runtime build directory
166164
uses: actions/cache/save@v4

.github/workflows/MacOS.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ jobs:
143143
brew install ninja
144144
145145
- uses: ./.github/actions/Build_LLVM
146-
with:
147-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
148146

149147
- name: Save Cache LLVM/Clang runtime build directory
150148
uses: actions/cache/save@v4

.github/workflows/Ubuntu-arm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ jobs:
154154
sudo apt-get clean
155155
156156
- uses: ./.github/actions/Build_LLVM
157-
with:
158-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
159157

160158
- name: Save Cache LLVM/Clang runtime build directory
161159
uses: actions/cache/save@v4

.github/workflows/Ubuntu.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ jobs:
147147
sudo apt-get clean
148148
149149
- uses: ./.github/actions/Build_LLVM
150-
with:
151-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
152150

153151
- name: Save Cache LLVM/Clang runtime build directory
154152
uses: actions/cache/save@v4

.github/workflows/Windows-arm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ jobs:
122122
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
123123
124124
- uses: ./.github/actions/Build_LLVM
125-
with:
126-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
127125

128126
- name: Save Cache LLVM/Clang runtime build directory
129127
uses: actions/cache/save@v4

.github/workflows/Windows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ jobs:
122122
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
123123
124124
- uses: ./.github/actions/Build_LLVM
125-
with:
126-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
127125

128126
- name: Save Cache LLVM/Clang runtime build directory
129127
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)