Skip to content

Commit 18f9391

Browse files
authored
Update cs2-all-build.yml
1 parent 4b18ca5 commit 18f9391

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/cs2-all-build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,14 +396,21 @@ jobs:
396396
ls -r
397397
zip -r "CaptureStream2-ubuntu-${{ github.event.inputs.yyyymmdd }}.zip" ./LinCaptureStream2
398398
399-
- name: Upload DMG to GitHub Release
399+
- name: Upload zip to GitHub Release
400400
uses: softprops/action-gh-release@v2
401401
with:
402402
files: CaptureStream2/build/CaptureStream2-ubuntu-${{ github.event.inputs.yyyymmdd }}.zip
403403
tag_name: ${{ needs.mac_build.outputs.tag }}
404404
env:
405405
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
406-
406+
- name: Upload Ubuntu binary to existing release
407+
env:
408+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
409+
run: |
410+
cd CaptureStream2/build
411+
gh release upload "${{ needs.mac_build.outputs.tag }}" \
412+
"CaptureStream2-ubuntu-${{ github.event.inputs.yyyymmdd }}.zip" \
413+
--clobber
407414
408415
mac_qt5_build:
409416
runs-on: macos-14

0 commit comments

Comments
 (0)