Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions .github/workflows/build-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,18 @@ jobs:

- name: Upload Macos Distribution
if: ${{ inputs.upload_artifacts && matrix.config == 'Release' }}
uses: actions/upload-artifact@v7
env:
ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS: 1800000
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
with:
name: Distributives_macos-${{matrix.os}}
path: meshlib_${{matrix.os}}.pkg
retention-days: 1
action: actions/upload-artifact@v7
attempt_limit: 3
attempt_delay: 30000 # milliseconds
with: |
name: Distributives_macos-${{matrix.os}}
path: meshlib_${{matrix.os}}.pkg
retention-days: 1
overwrite: true

- name: Collect artifact stats
if: ${{ inputs.internal_build && inputs.upload_artifacts }}
Expand All @@ -286,8 +291,13 @@ jobs:

- name: Upload NuGet files to Artifacts
if: ${{ inputs.nuget_build_patch && matrix.config == 'Release' }}
uses: actions/upload-artifact@v7
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
with:
name: DotNetPatchArchiveMacOs-${{ matrix.arch }}
path: ./patched_content/*
retention-days: 1
action: actions/upload-artifact@v7
attempt_limit: 3
attempt_delay: 30000 # milliseconds
with: |
name: DotNetPatchArchiveMacOs-${{ matrix.arch }}
path: ./patched_content/*
retention-days: 1
overwrite: true
56 changes: 38 additions & 18 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,16 @@ jobs:

- name: Upload Windows Binaries Archive
if: ${{ inputs.upload_artifacts && matrix.cxx_compiler == 'msvc-2019' && matrix.build_system == 'CMake' }}
uses: actions/upload-artifact@v7
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
with:
name: WindowsArchive_${{ matrix.upload_name || matrix.config }}
path: MREDist_${{ matrix.upload_name || matrix.config }}.zip
retention-days: 1
action: actions/upload-artifact@v7
attempt_limit: 3
attempt_delay: 30000 # milliseconds
with: |
name: WindowsArchive_${{ matrix.upload_name || matrix.config }}
path: MREDist_${{ matrix.upload_name || matrix.config }}.zip
retention-days: 1
overwrite: true

- name: Collect artifact stats
if: ${{ inputs.internal_build && inputs.upload_artifacts }}
Expand All @@ -352,11 +357,16 @@ jobs:

- name: Upload MeshLibC2 headers archive
if: ${{ inputs.upload_artifacts && matrix.cxx_compiler == 'msvc-2019' && matrix.build_system == 'CMake' && matrix.config == 'Release' && inputs.mrbind_c }}
uses: actions/upload-artifact@v7
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
with:
name: WindowsArchive_MeshLibC2Headers
path: MeshLibC2Headers.zip
retention-days: 1
action: actions/upload-artifact@v7
attempt_limit: 3
attempt_delay: 30000 # milliseconds
with: |
name: WindowsArchive_MeshLibC2Headers
path: MeshLibC2Headers.zip
retention-days: 1
overwrite: true

- name: Create and fix fake Wheel for NuGet
if: ${{ inputs.nuget_build && matrix.cxx_compiler == 'msvc-2022' && matrix.config == 'Release' && env.BUILD_C_SHARP == 'true' }}
Expand All @@ -368,18 +378,28 @@ jobs:

- name: Upload NuGet files to Artifacts
if: ${{ inputs.nuget_build && matrix.cxx_compiler == 'msvc-2022' && matrix.config == 'Release' && env.BUILD_C_SHARP == 'true' }}
uses: actions/upload-artifact@v7
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
with:
name: DotNetPatchArchiveWindows-x64
path: ./patched_content/*
retention-days: 1
action: actions/upload-artifact@v7
attempt_limit: 3
attempt_delay: 30000 # milliseconds
with: |
name: DotNetPatchArchiveWindows-x64
path: ./patched_content/*
retention-days: 1
overwrite: true

- name: Upload NuGet library DLL and XML to Artifacts
if: ${{ inputs.nuget_build && matrix.cxx_compiler == 'msvc-2022' && matrix.config == 'Release' && env.BUILD_C_SHARP == 'true' }}
uses: actions/upload-artifact@v7
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
with:
name: DotNetDllXml
path: |
./source/x64/Release/MRDotNet2.dll
./source/x64/Release/MRDotNet2.xml
retention-days: 1
action: actions/upload-artifact@v7
attempt_limit: 3
attempt_delay: 30000 # milliseconds
with: |
name: DotNetDllXml
path: |
./source/x64/Release/MRDotNet2.dll
./source/x64/Release/MRDotNet2.xml
retention-days: 1
overwrite: true
Loading