From 2fad446566078882e521c775386b77819ad7b766 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Wed, 16 Oct 2024 15:39:55 +0200 Subject: [PATCH] - workflows --- .github/workflows/wheels.yml | 3 ++- .github/workflows/where_is_cargo.yml | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/where_is_cargo.yml diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 050f39b..53b0689 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -1,6 +1,7 @@ name: Wheels -on: [push, pull_request] +on: workflow_call +# [push, pull_request] jobs: wheels_pytest: diff --git a/.github/workflows/where_is_cargo.yml b/.github/workflows/where_is_cargo.yml new file mode 100644 index 0000000..d683594 --- /dev/null +++ b/.github/workflows/where_is_cargo.yml @@ -0,0 +1,25 @@ +name: Where_is_cargo + +on: [push, pull_request] + +jobs: + where_is_cargo: + name: Where is cargo + needs: [ wheels_pytest ] + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + + - name: Check path + if: runner.os != 'Windows' + run: echo $PATH + + - name: Set path + if: runner.os != 'Windows' + run: export PATH="$HOME/.cargo/bin:$PATH" + + - name: Check path + if: runner.os != 'Windows' + run: echo $PATH \ No newline at end of file