Skip to content

Commit ebe95d3

Browse files
committed
fix(ci): no artifacts on non-main runs
1 parent 228a704 commit ebe95d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/build-jcef.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
tar -czf linux_${{ matrix.platform }}.tar.gz linux_${{ matrix.platform }} .hash
2727
sha256sum linux_${{ matrix.platform }}.tar.gz > linux_${{ matrix.platform }}.tar.gz.sha256
2828
- uses: actions/upload-artifact@v4
29-
if: ${{ github.ref == 'refs/heads/main' }}
3029
with:
3130
name: 'linux_${{ matrix.platform }}'
3231
path: |
@@ -56,7 +55,6 @@ jobs:
5655
tar -czf windows_${{ matrix.platform }}.tar.gz windows_${{ matrix.platform }} .hash
5756
Get-FileHash -Algorithm SHA256 -Path "windows_${{ matrix.platform }}.tar.gz" | Out-File "windows_${{ matrix.platform }}.tar.gz.sha256"
5857
- uses: actions/upload-artifact@v4
59-
if: ${{ github.ref == 'refs/heads/main' }}
6058
with:
6159
name: 'windows_${{ matrix.platform }}'
6260
path: |
@@ -92,7 +90,6 @@ jobs:
9290
tar -czf macos_${{ matrix.platform }}.tar.gz macos_${{ matrix.platform }} .hash
9391
sha256sum macos_${{ matrix.platform }}.tar.gz > macos_${{ matrix.platform }}.tar.gz.sha256
9492
- uses: actions/upload-artifact@v4
95-
if: ${{ github.ref == 'refs/heads/main' }}
9693
with:
9794
name: 'macos_${{ matrix.platform }}'
9895
path: |

0 commit comments

Comments
 (0)