Skip to content

Commit

Permalink
Line not broken properly in pwsh session?
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmades committed Jul 10, 2024
1 parent 85d47da commit c0ffa79
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
#run: echo "DEP_CACHE_KEY=dependencies-cache-key-${{ matrix.platform }}-${{ matrix.build_type }}-$(echo $GITHUB_REF | sed 's/refs\/heads\///')" >> $GITHUB_ENV
run: |
cache_key="dependencies-cache-key-${{ matrix.platform }}-${{ matrix.build_type }}-$(echo $GITHUB_REF | sed 's/refs\/heads\///')"
echo "generated $cache_key"
echo "::debug::Set generated $cache_key"
echo "cache_key=$cache_key" >> $GITHUB_OUTPUT
# Step: Set paths
Expand Down Expand Up @@ -79,19 +79,19 @@ jobs:
dependencies-cache-key-${{ matrix.platform }}-${{ matrix.build_type }}-
- name: Build dependencies
if: steps.restore-cached-dependencies.outputs.cache-hit != 'true'
if: steps.restore-cached-dependencies.outputs.cache-hit == 'false'
shell: pwsh
run: >
./scripts/dependencies_installer/InstallDependencies.ps1
-WorkDir "${{ steps.paths.outputs.dependencies_work_dir }}"
-InstallDir "${{ steps.paths.outputs.dependencies_install_dir }}"
-BuildType "${{ matrix.build_type }}"
-ParallelJobs 10
-GitTags @{zlib = 'v1.2.13'; hdf5 = 'hdf5-1_14_0'; sundials = 'v5.8.0'; yamlcpp = '0.8.0'; catch2 = 'v3.5.2'; googletest = 'v1.14.0'; units = 'v0.9.1'; fmt='9.1.0'; eigen ='3.4.0'; boost ='1.84.0'; cantera = 'v2.6.0'}
./scripts/dependencies_installer/InstallDependencies.ps1 `
-WorkDir "${{ steps.paths.outputs.dependencies_work_dir }}" `
-InstallDir "${{ steps.paths.outputs.dependencies_install_dir }}" `
-BuildType "${{ matrix.build_type }}" `
-ParallelJobs 10 `
-GitTags @{zlib = 'v1.2.13'; hdf5 = 'hdf5-1_14_0'; sundials = 'v5.8.0'; yamlcpp = '0.8.0'; catch2 = 'v3.5.2'; googletest = 'v1.14.0'; units = 'v0.9.1'; fmt='9.1.0'; eigen ='3.4.0'; boost ='1.84.0'; cantera = 'v2.6.0'}
- name: Cache dependencies
uses: actions/cache@v4
if: steps.restore-cached-dependencies.outputs.cache-hit != 'true'
if: steps.restore-cached-dependencies.outputs.cache-hit == 'false'
with:
path: ${{ steps.paths.outputs.dependencies_install_dir }}
#key: ${{ env.DEP_CACHE_KEY }}
Expand Down

0 comments on commit c0ffa79

Please sign in to comment.