Skip to content

Commit

Permalink
added record-tool to release
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm committed Jul 12, 2024
1 parent 1a165bc commit c9b27a1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target }}
path: ${{ env.APP_NAME }}-${{ matrix.target }}${{ matrix.extension }}
path: |
*-${{ matrix.target }}${{ matrix.extension }}
- name: Upload binaries to release
- name: Upload server binarie to release
if: startsWith(github.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
Expand All @@ -246,6 +247,16 @@ jobs:
tag: ${{ github.ref }}
overwrite: true

- name: Upload record_tool binarie to release
if: startsWith(github.ref, 'refs/tags/') && matrix.build_record_tool
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: convert_webm-${{ matrix.target }}${{ matrix.extension }}
asset_name: convert_webm-${{ matrix.target }}${{ matrix.extension }}
tag: ${{ github.ref }}
overwrite: true

create-release:
# only run if not a tags build
if: startsWith(github.ref, 'refs/tags/') == false
Expand Down

0 comments on commit c9b27a1

Please sign in to comment.