Skip to content

Commit 5e23f14

Browse files
committed
can the ci please work now?
1 parent f743042 commit 5e23f14

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
build-native:
22-
if: ${{ github.event_name != 'push' && inputs.build-native == true }}
22+
if: github.event_name != 'push' && inputs.build-native
2323
strategy:
2424
matrix:
2525
os: [ ubuntu-24.04, windows-2022, ubuntu-24.04-arm, macos-15-intel, macos-14 ]
@@ -66,7 +66,7 @@ jobs:
6666
run: ./gradlew nativeZip -Pprod
6767

6868
- name: Upload artifacts
69-
if: inputs.upload-artifacts == true
69+
if: github.event_name != 'push' && inputs.upload-artifacts
7070
uses: actions/upload-artifact@v4
7171
with:
7272
name: ${{ matrix.artifact-name }}
@@ -96,7 +96,7 @@ jobs:
9696
run: ./gradlew fatJar -Pprod
9797

9898
- name: Upload JAR artifact
99-
if: inputs.upload-artifacts == true
99+
if: github.event_name != 'push' && inputs.upload-artifacts
100100
uses: actions/upload-artifact@v4
101101
with:
102102
name: astra-cli-fat-jar

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: ./.github/workflows/build.yml
5151
with:
5252
upload-artifacts: true
53-
build-native: ${{ inputs.jar-only != 'true' }}
53+
build-native: ${{ !inputs.jar-only }}
5454

5555
update-install-scripts:
5656
needs: build

0 commit comments

Comments
 (0)