Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ptahmose committed Oct 4, 2024
1 parent b56ea35 commit 3c208c7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
asset_content_type: application/zip

0 comments on commit 3c208c7

Please sign in to comment.