diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bd271f..6acffcd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -98,12 +98,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Download Linux Artifacts - if: needs.build.outputs.linuxx64_artifact != '' + - name: Download All Artifacts + if: needs.build.outputs.linuxx64_artifact != '' || needs.build.outputs.windowsx64_artifact != '' uses: actions/download-artifact@v4 with: - #name: ${{ needs.build.outputs.linuxx64_artifact }} # Name used during artifact upload - path: ./artifacts # Optional, download to a specific folder + path: ./artifacts # download to a specific folder - name: Display structure of downloaded files run: ls -R ./artifacts @@ -115,7 +114,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/${{ needs.build.outputs.linuxx64_artifact }}/${{ needs.build.outputs.linuxx64_artifact }}.mexa64 + asset_path: ./artifacts/${{ needs.build.outputs.linuxx64_artifact }}/MEXlibCZI.mexa64 asset_name: "Linux x64" asset_content_type: application/zip @@ -126,6 +125,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/${{ needs.build.outputs.windowsx64_artifact }}/${{ needs.build.outputs.windowsx64_artifact }}.mexw64 + asset_path: ./artifacts/${{ needs.build.outputs.windowsx64_artifact }}/MEXlibCZI.mexw64 asset_name: "Windows x64" - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip