diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c013dae..88611e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,24 +17,28 @@ jobs: os: ubuntu-20.04, container: 'quay.io/pypa/manylinux2014_x86_64', artifact_name: libmath.so, + upload_name: libmath.so, artifact_path: linux_64 } - { name: macos, os: macos-11, artifact_name: libmath.dylib, + upload_name: libmath.dylib, artifact_path: osx_64 } - { name: macos_arm64, os: macos-14, # minimal version to get an ARM64 runner - artifact_name: libmath_arm64.dylib, + artifact_name: libmath.dylib, + upload_name: libmath_arm64.dylib, artifact_path: osx_arm64 } - { name: windows, os: windows-2019, artifact_name: math.dll, + upload_name: math.dll, artifact_path: windows_64 } @@ -72,7 +76,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: ${{ matrix.config.artifact_name }} + name: ${{ matrix.config.upload_name }} path: ${{ runner.workspace }}/powsybl-math-native/target/classes/natives/${{ matrix.config.artifact_path }}/${{ matrix.config.artifact_name }} package: @@ -100,7 +104,7 @@ jobs: uses: actions/download-artifact@v3 with: name: libmath_arm64.dylib - path: target/classes/natives/osx_arm64/libmath.dylib + path: target/classes/natives/osx_arm64/ - name: Download Windows library uses: actions/download-artifact@v3