Skip to content

Commit d2ec35a

Browse files
committed
try again
1 parent a091e95 commit d2ec35a

File tree

1 file changed

+9
-29
lines changed

1 file changed

+9
-29
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,10 @@ jobs:
4949
5050
echo 'Checking nproc version.'
5151
nproc --version
52-
- name: Set up Conan home directory (MacOS)
53-
if: ${{ inputs.os == 'macos' }}
54-
run: |
55-
echo 'Setting up Conan home directory.'
56-
export CONAN_HOME=${{ github.workspace }}/.conan
57-
mkdir -p ${CONAN_HOME}
58-
- name: Set up Conan home directory (Windows)
59-
if: ${{ inputs.os == 'windows' }}
60-
run: |
61-
echo 'Setting up Conan home directory.'
62-
set CONAN_HOME=${{ github.workspace }}\.conan
63-
mkdir -p %CONAN_HOME%
6452
- name: Set up Conan configuration
6553
run: |
6654
echo 'Installing configuration.'
67-
cat conan/global.conf ${{ inputs.os == 'linux' && '>>' || '>' }} $(conan config home)/global.conf
55+
cat conan/global.conf >> $(conan config home)/global.conf
6856
6957
echo 'Conan configuration:'
7058
conan config show '*'
@@ -78,28 +66,20 @@ jobs:
7866
- name: Set up Conan remote
7967
shell: bash
8068
run: |
81-
echo "Adding Conan remote '${{ inputs.conan_remote_name }}' at ${{ inputs.conan_remote_url }}."
82-
conan remote add --index 0 --force ${{ inputs.conan_remote_name }} ${{ inputs.conan_remote_url }}
69+
echo "Adding Conan remote '${{ env.CONAN_REMOTE_NAME }}' at ${{ env.CONAN_REMOTE_URL }}."
70+
conan remote add --index 0 --force ${{ env.CONAN_REMOTE_NAME }} ${{ env.CONAN_REMOTE_URL }}
8371
8472
echo 'Listing Conan remotes.'
8573
conan remote list
8674
- name: Build dependencies
8775
uses: ./.github/actions/build-deps
8876
with:
89-
build_dir: ${{ inputs.build_dir }}
90-
build_type: ${{ matrix.build_type }}
91-
conan_remote_name: ${{ inputs.conan_remote_name }}
92-
conan_remote_url: ${{ inputs.conan_remote_url }}
77+
build_dir: .build
78+
build_type: Debug
79+
conan_remote_name: ${{ env.CONAN_REMOTE_NAME }}
80+
conan_remote_url: ${{ env.CONAN_REMOTE_URL }}
9381
conan_remote_username: ${{ secrets.conan_remote_username }}
9482
conan_remote_password: ${{ secrets.conan_remote_password }}
95-
force_build: ${{ inputs.dependencies_force_build }}
96-
force_upload: ${{ inputs.dependencies_force_upload }}
97-
98-
# - name: Set up Node.js
99-
# uses: actions/setup-node@v4
100-
# with:
101-
# node-version: "20"
102-
# cache: "npm"
83+
force_build: false
84+
force_upload: false
10385

104-
# - name: Install JavaScript dependencies
105-
# run: npm ci

0 commit comments

Comments
 (0)