From bdd0d20c4fafdba4012ef2ffcf8ccd7572b701a9 Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Sat, 27 Apr 2024 09:58:54 -0700 Subject: [PATCH 01/11] Update publish.yml --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8140fe85..2425b8f5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: s-weigand/setup-conda@v1 + - uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + auto-activate-base: true - run: conda install --file ./workflow_env/conda-${{ matrix.cfg.build_platform }}.lock -y - name: Install node From 051b61860b1854258c16fe987d48399fbbed70e1 Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Sat, 27 Apr 2024 10:00:58 -0700 Subject: [PATCH 02/11] Update publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2425b8f5..c4433938 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,7 @@ jobs: - name: Install node uses: actions/setup-node@v4 with: - node-version: '14.x' + node-version: '20.x' cache: 'yarn' - name: Install dependencies From 9082c984a7d470a79f434a2c627889b4f580888f Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Sat, 27 Apr 2024 10:07:44 -0700 Subject: [PATCH 03/11] test --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c4433938..d36a1703 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,6 +70,12 @@ jobs: return releaseWithTag ? 'true' : 'false' result-encoding: string + - run: | + conda info + conda list + conda config --show-sources + conda config --show + - name: Create Application Server Installer run: | yarn create_env_installer:${{ matrix.cfg.platform }} From 3e3da1727cb972961afada7378bba0f84277f515 Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Sat, 27 Apr 2024 10:15:41 -0700 Subject: [PATCH 04/11] Update publish.yml --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d36a1703..3bd3fda9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -72,9 +72,9 @@ jobs: - run: | conda info - conda list - conda config --show-sources - conda config --show + conda list conda-lock + which conda-lock + conda-lock --version - name: Create Application Server Installer run: | From 3ada00cb43fbfa025e2ae74ab0437209325f37af Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Sat, 27 Apr 2024 10:19:41 -0700 Subject: [PATCH 05/11] Update publish.yml --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3bd3fda9..043be44a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,6 +73,7 @@ jobs: - run: | conda info conda list conda-lock + ls -al /usr/share/miniconda/bin which conda-lock conda-lock --version From ab75e9317b367eff22376d0eb3fb104472c73b23 Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Sat, 27 Apr 2024 10:21:47 -0700 Subject: [PATCH 06/11] Update publish.yml --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 043be44a..43f3febc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,6 +71,7 @@ jobs: result-encoding: string - run: | + conda activate conda info conda list conda-lock ls -al /usr/share/miniconda/bin From d8f216b26d63afc9c350d95f0588275493ae8cf5 Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Mon, 29 Apr 2024 09:37:01 -0700 Subject: [PATCH 07/11] Update publish.yml --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 43f3febc..1fb54a34 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,6 +28,7 @@ jobs: with: auto-update-conda: true auto-activate-base: true + activate-environment: "" - run: conda install --file ./workflow_env/conda-${{ matrix.cfg.build_platform }}.lock -y - name: Install node @@ -71,7 +72,7 @@ jobs: result-encoding: string - run: | - conda activate + # conda activate conda info conda list conda-lock ls -al /usr/share/miniconda/bin From fd88d6142ba21adbcf8ea7e1983c0064e0ebd91f Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Mon, 29 Apr 2024 09:41:57 -0700 Subject: [PATCH 08/11] Update publish.yml --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1fb54a34..f1a066a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,7 +71,9 @@ jobs: return releaseWithTag ? 'true' : 'false' result-encoding: string - - run: | + - name: test conda + shell: bash -el {0} + run: | # conda activate conda info conda list conda-lock From 5d11419233dc98228400bf4dcfa41e2a0316b5cc Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Mon, 29 Apr 2024 09:43:56 -0700 Subject: [PATCH 09/11] Update publish.yml --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f1a066a2..3f5fd347 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,9 @@ jobs: name: '${{ matrix.cfg.platform_name }} installer' runs-on: ${{ matrix.cfg.os }} + defaults: + run: + shell: bash -el {0} steps: - uses: actions/checkout@v4 @@ -72,7 +75,6 @@ jobs: result-encoding: string - name: test conda - shell: bash -el {0} run: | # conda activate conda info From e1e9ca8b2aba1ead9ecbe6d8c54fb13597d02daf Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Mon, 29 Apr 2024 09:45:53 -0700 Subject: [PATCH 10/11] Update publish.yml --- .github/workflows/publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3f5fd347..4f658f33 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -74,14 +74,14 @@ jobs: return releaseWithTag ? 'true' : 'false' result-encoding: string - - name: test conda - run: | - # conda activate - conda info - conda list conda-lock - ls -al /usr/share/miniconda/bin - which conda-lock - conda-lock --version + # - name: test conda + # run: | + # # conda activate + # conda info + # conda list conda-lock + # ls -al /usr/share/miniconda/bin + # which conda-lock + # conda-lock --version - name: Create Application Server Installer run: | From 181c19fb9c4a98a73cb5de4d883dafdad5e368f6 Mon Sep 17 00:00:00 2001 From: Mehmet Bektas Date: Mon, 29 Apr 2024 18:48:29 -0700 Subject: [PATCH 11/11] Update publish.yml --- .github/workflows/publish.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4f658f33..810a59e6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,7 @@ jobs: runs-on: ${{ matrix.cfg.os }} defaults: run: + # needed for conda to work shell: bash -el {0} steps: @@ -32,6 +33,8 @@ jobs: auto-update-conda: true auto-activate-base: true activate-environment: "" + channels: conda-forge + - run: conda install --file ./workflow_env/conda-${{ matrix.cfg.build_platform }}.lock -y - name: Install node @@ -74,15 +77,6 @@ jobs: return releaseWithTag ? 'true' : 'false' result-encoding: string - # - name: test conda - # run: | - # # conda activate - # conda info - # conda list conda-lock - # ls -al /usr/share/miniconda/bin - # which conda-lock - # conda-lock --version - - name: Create Application Server Installer run: | yarn create_env_installer:${{ matrix.cfg.platform }}