From da28d402afdfb73cba16d6bfda602fcf5c78ed20 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 30 Mar 2023 10:44:31 +0200 Subject: [PATCH 1/5] try enable conda for windows generic job --- .github/workflows/windows_job.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index b4ef8a70d6..9edb10f74f 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -90,6 +90,9 @@ jobs: with: github-secret: ${{ github.token }} + - name: Add Conda scripts to GitHub path + run: echo "C:/Jenkins/Miniconda3/Scripts" >> $GITHUB_PATH + - name: Checkout repository (${{ inputs.repository || github.repository }}@${{ inputs.ref }}) uses: actions/checkout@v3 with: From 041f7d47b2bc2764060a780e5b87fb909b90b47e Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 30 Mar 2023 10:44:58 +0200 Subject: [PATCH 2/5] debug --- .github/workflows/windows_job.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index 9edb10f74f..fbcc405894 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -116,6 +116,9 @@ jobs: binary-matrix: ${{ inputs.binary-matrix }} target-os: "windows" + - name: Debug + run: sleep 3600 + - name: Run script shell: bash -l {0} continue-on-error: ${{ inputs.continue-on-error }} From b9edaa801b095a86f2aa2dfc376dd90ce4443233 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 30 Mar 2023 11:13:45 +0200 Subject: [PATCH 3/5] move debug to actual script --- .github/workflows/windows_job.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index fbcc405894..9edb10f74f 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -116,9 +116,6 @@ jobs: binary-matrix: ${{ inputs.binary-matrix }} target-os: "windows" - - name: Debug - run: sleep 3600 - - name: Run script shell: bash -l {0} continue-on-error: ${{ inputs.continue-on-error }} From 147438196afb5b6c92f82f6446844f11e129cefb Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 30 Mar 2023 11:37:32 +0200 Subject: [PATCH 4/5] test path appending --- .github/workflows/windows_job.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index 9edb10f74f..bbf175937e 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -93,6 +93,18 @@ jobs: - name: Add Conda scripts to GitHub path run: echo "C:/Jenkins/Miniconda3/Scripts" >> $GITHUB_PATH + - name: Debug cmd.exe + shell: cmd.exe + run: echo %PATH% + + - name: Debug bash (default) + shell: bash + run: echo $PATH + + - name: Debug bash (custom) + shell: bash -l {0} + run: echo $PATH + - name: Checkout repository (${{ inputs.repository || github.repository }}@${{ inputs.ref }}) uses: actions/checkout@v3 with: From 416177e5ead1a1ebbaa39b5078fc449bc2bc666b Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 30 Mar 2023 11:48:49 +0200 Subject: [PATCH 5/5] fix cmd debug --- .github/workflows/windows_job.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index bbf175937e..0b4dc9e6f6 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -93,8 +93,8 @@ jobs: - name: Add Conda scripts to GitHub path run: echo "C:/Jenkins/Miniconda3/Scripts" >> $GITHUB_PATH - - name: Debug cmd.exe - shell: cmd.exe + - name: Debug cmd + shell: cmd run: echo %PATH% - name: Debug bash (default)