Skip to content

Commit a6c1bb9

Browse files
committed
fix
1 parent 0a34dd5 commit a6c1bb9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/common_tag_workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
required: true
1212
type: string
1313
has_ffi:
14-
type: string
14+
type: boolean
1515

1616
jobs:
1717

@@ -103,13 +103,13 @@ jobs:
103103
go-version: 1.17
104104

105105
- name: install deps
106-
if ${{ inputs.has_ffi != '1' }}
106+
if: ${{ !inputs.has_ffi }}
107107
run: |
108108
sudo apt-get update
109109
sudo apt-get install ncftp
110110
111111
- name: install more deps
112-
if ${{ inputs.has_ffi == '1' }}
112+
if: ${{ inputs.has_ffi }}
113113
run: |
114114
sudo apt-get update
115115
sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y && sudo apt upgrade -y

.github/workflows/tag_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
with:
1010
repo_name: ${GITHUB_REPOSITORY##*/}
1111
bin_name: 'venus'
12-
need_ffi: '1'
12+
need_ffi: true

0 commit comments

Comments
 (0)