From f58979d7adda78e6e2d34b3996ed7c1745b92248 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Sun, 12 Jan 2025 08:31:17 +0100 Subject: [PATCH] Release 5.1.0 --- .github/julia/generate_binaries.jl | 4 ++-- .github/workflows/release.yml | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/julia/generate_binaries.jl b/.github/julia/generate_binaries.jl index ec941897fb..fc1e7511f4 100644 --- a/.github/julia/generate_binaries.jl +++ b/.github/julia/generate_binaries.jl @@ -74,14 +74,14 @@ for (platform, libdir, ext) in platforms end # Windows if libdir == "bin" - cp(folder, "$(package)_binaries.$version2/bin") + cp("bin", "$(package)_binaries.$version2/bin") end cd("$(package)_binaries.$version2") if ext == "dll" run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include share modules lib bin`) else - run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib bin`) + run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib`) end cd("../../..") diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15cc1baef6..85d50fcd11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,9 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: - path: ./artifacts + path: . + - name: List files + run: ls -l - name: Create a new release uses: actions/create-release@v1 id: create_release @@ -149,7 +151,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz + asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz/GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz asset_name: GALAHAD.${{ github.ref_name }}.linux.tar.gz asset_content_type: application/gzip - name: upload Mac (Intel) artifact @@ -158,7 +160,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz + asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz/GALAHAD_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz asset_name: GALAHAD.${{ github.ref_name }}.mac-intel.tar.gz asset_content_type: application/gzip - name: upload Mac (ARM) artifact @@ -167,7 +169,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz + asset_path: GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz/GALAHAD_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz asset_name: GALAHAD.${{ github.ref_name }}.mac-arm.tar.gz asset_content_type: application/gzip - name: upload Windows artifact @@ -176,6 +178,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./artifacts/GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip + asset_path: GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip/GALAHAD_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip asset_name: GALAHAD.${{ github.ref_name }}.windows.zip asset_content_type: application/zip