Skip to content

Commit

Permalink
Separate bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
howetuft committed Dec 9, 2024
1 parent 7d568b3 commit 8b373a9
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions .github/workflows/bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,36 @@ jobs:
--split-platform \
--source-dir "${{ github.workspace }}/BlendLuxCore"
- name: Upload artifacts
- name: Separate platforms
shell: bash
run: |
for file_name in ${{ github.workspace }}/BlendLuxCore-*.zip; do
base_name=$(basename -- "${file_name}")
target_folder=${base_name%.*}
echo "Unzipping '${file_name}' into '${target_folder}'"
unzip -q ${file_name} -d ${target_folder}
done
- name: Upload Linux artifact
uses: actions/upload-artifact@v4
with:
name: "BlendLuxCore-linux_x64"
path: "${{ github.workspace }}/BlendLuxCore-*-linux_x64"

- name: Upload MacOS arm64 artifact
uses: actions/upload-artifact@v4
with:
name: "BlendLuxCore-macos_arm64"
path: "${{ github.workspace }}/BlendLuxCore-*-macos_arm64"

- name: Upload MacOS X64 artifact
uses: actions/upload-artifact@v4
with:
name: "BlendLuxCore-macos_x64"
path: "${{ github.workspace }}/BlendLuxCore-*-macos_x64"

- name: Upload Windows artifact
uses: actions/upload-artifact@v4
with:
path: "${{ github.workspace }}/BlendLuxCore-*.zip"
name: "BlendLuxCore-windows_x64"
path: "${{ github.workspace }}/BlendLuxCore-*-windows_x64"

0 comments on commit 8b373a9

Please sign in to comment.