From a22f309c3ce34cf0aa7b2f19b01f80371585a3c7 Mon Sep 17 00:00:00 2001 From: Quentin VIGNAUD Date: Tue, 9 Dec 2025 07:22:05 +0100 Subject: [PATCH] Adding debug --- .github/workflows/ci.yml | 2 +- .melodium-ci/prepare.mel | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4172fd9b..44230fb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: command: | run .melodium-ci/Compo.toml buildTestAya --targets='[${{ toJSON( matrix.arch ) }}]' --repository_clone_url='"${{ github.repositoryUrl }}"' --repository_clone_ref='"${{ github.ref_name }}"' --github_contexts='$''{{{{ { "github": { "api_url": ${{ toJSON(github.api_url) }}, "repository": ${{ toJSON(github.repository) }}, "sha": ${{ toJSON(github.sha) }} }, "secrets": { "GITHUB_TOKEN": "'"$GITHUB_TOKEN"'" } } }}}}' artifact-path: 'logs/' - artifact-name: 'mel_buildTestAya' + artifact-name: 'mel_buildTestAya_${{ toJSON( matrix.arch ) }}' secrets: token: ${{ secrets.GITHUB_TOKEN }} permissions: diff --git a/.melodium-ci/prepare.mel b/.melodium-ci/prepare.mel index 2d3c1bae..0d5bb649 100644 --- a/.melodium-ci/prepare.mel +++ b/.melodium-ci/prepare.mel @@ -41,8 +41,9 @@ treatment setupToolchain[logger: Logger](rust_target: string) name = |format("setupToolchain ({rust_target})", |entry("rust_target", rust_target)), commands = |raw_commands([ |format("echo GithubEnv /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)), - |format("mkdir /tmp/{rust_target}", |entry("rust_target", rust_target)), + |format("mkdir -p /tmp/{rust_target}", |entry("rust_target", rust_target)), |format("touch /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)), + |format("ls /tmp/{rust_target}", |entry("rust_target", rust_target)), ${bash -c "curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/taiki-e/setup-cross-toolchain-action/refs/tags/v1/main.sh | bash -"}, |format("cat /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)) ]),