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: |