From b305621bcbf1782c502bdb350f4456181c5f30d5 Mon Sep 17 00:00:00 2001 From: userdocs <16525024+userdocs@users.noreply.github.com> Date: Sat, 23 Dec 2023 21:33:47 +0000 Subject: [PATCH] Update matrix_multi_build_and_release_qbt_workflow_files.yml use artifacts action inline with v4 changes --- ...i_build_and_release_qbt_workflow_files.yml | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/matrix_multi_build_and_release_qbt_workflow_files.yml b/.github/workflows/matrix_multi_build_and_release_qbt_workflow_files.yml index a2047fa5..39d7d49e 100644 --- a/.github/workflows/matrix_multi_build_and_release_qbt_workflow_files.yml +++ b/.github/workflows/matrix_multi_build_and_release_qbt_workflow_files.yml @@ -182,22 +182,19 @@ jobs: pandoc_git_tag="$(git ls-remote -q -t --refs https://github.com/jgm/pandoc.git | awk '/tags\/[0-9]/{sub("refs/tags/", ""); print $2 }' | awk '!/^$/' | sort -rV | head -n 1)" curl -sLo- "https://github.com/jgm/pandoc/releases/latest/download/pandoc-${pandoc_git_tag}-linux-amd64.tar.gz" | tar xzf - --strip-components 2 -C "$(pwd)" --exclude="share" - - name: Host - Download qbittorrent-nox artifacts ${{ github.event.inputs.distinct_id }} + - name: Host - Download 1.2 qbittorrent-nox artifacts ${{ github.event.inputs.distinct_id }} uses: actions/download-artifact@v4 + with: + path: "1.2" + pattern: libtorrent-v1.2-*-qbittorrent-nox + merge-multiple: true - - name: Host - 1.2 artifacts organise for release ${{ github.event.inputs.distinct_id }} - run: | - mkdir -p "1.2" - for files in libtorrent-v1.2-*-qbittorrent-nox; do - cp -rf ${files}/* "1.2/" - done - - - name: Host - 2.0 artifacts organise for release ${{ github.event.inputs.distinct_id }} - run: | - mkdir -p "2.0" - for files in libtorrent-v2.0-*-qbittorrent-nox; do - cp -rf ${files}/* "2.0/" - done + - name: Host - Download 2.0 qbittorrent-nox artifacts ${{ github.event.inputs.distinct_id }} + uses: actions/download-artifact@v4 + with: + path: "2.0" + pattern: libtorrent-v2.0-*-qbittorrent-nox + merge-multiple: true - name: Host - merge release-info ${{ github.event.inputs.distinct_id }} run: |