From c9b27a104fc74285a613b6bddd1d92131a37d8c8 Mon Sep 17 00:00:00 2001 From: giangndm <45644921+giangndm@users.noreply.github.com> Date: Fri, 12 Jul 2024 05:10:47 +0000 Subject: [PATCH] added record-tool to release --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09bbbf23..6737fbce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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