Skip to content

Commit fc582b8

Browse files
committed
try to fix tool push job
1 parent eb4d164 commit fc582b8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ jobs:
126126
name: Push chdb-tool
127127
needs: push_chdb
128128
runs-on: ubuntu-latest
129+
env:
130+
PUSH_TOOL: true
129131
steps:
130132
- name: Pack
131133
run: |

src/chdb-tool/chdb-tool.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
4-
<ProjectReference Include="..\chdb\chdb.csproj" Condition="'$(GITHUB_ACTIONS)' != 'true'" />
5-
<PackageReference Include="chdb" Version="$(Version)" Condition="'$(GITHUB_ACTIONS)' == 'true'" />
4+
<ProjectReference Include="..\chdb\chdb.csproj" Condition="'$(PUSH_TOOL)' != 'true'" />
5+
<PackageReference Include="chdb" Version="$(Version)" Condition="'$(PUSH_TOOL)' == 'true'" />
66

77
<!-- <PackageReference Include="chdb-linux-x64" Version="$(Version)" Condition="$(IsLinuxX64) == true"/>
88
<PackageReference Include="chdb-linux-arm64" Version="$(Version)" Condition="$(IsLinuxArm64) == true"/>

0 commit comments

Comments
 (0)