Skip to content

Commit

Permalink
print string
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbelina committed Feb 23, 2024
1 parent 17e106d commit 4d4d3ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test_combined.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
ls
echo "LS Done"
mamba install -v -n test_env fine geokit glaes reskit pytest=6.2.4 scikit-learn=1.1.3
mamba install -v -n test_env fine geokit glaes reskit pytest=6.2.4 scikit-learn=1.1.3
echo "Installation done"
conda list -n test_env
echo "libaries printed"
Expand All @@ -50,13 +50,15 @@ jobs:
id: fine-version
run: |
$FINE_STRING = conda list -e -n test_env fine | Out-String
echo The fine string is $FINE_STRING
FINE_VERSION = [regex]::Match($FINE_STRING, 'fine=(\d+\.\d+\.\d+)=').Groups[1].Value
echo "FINE_VERSION=$FINE_VERSION" >> $GITHUB_OUTPUT
- name: Get fine version
shell: pwsh
id: other-version
run: |
$GEOKIT_STRING = conda list -e -n test_env geokit | Out-String
echo The Geokit string is $GEOKIT_STRING
$GEOKIT_VERSION = [regex]::Match($GEOKIT_STRING, 'geokit=(\d+\.\d+\.\d+)=').Groups[1].Value
echo "GEOKIT_VERSION=$GEOKIT_VERSION" >> $GITHUB_OUTPUT
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_fine_geokit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ jobs:
id: fine-version
run: |
$FINE_STRING = conda list -e -n test_env fine | Out-String
FINE_VERSION = [regex]::Match($FINE_STRING, 'fine=(\d+\.\d+\.\d+)=').Groups[1].Value
echo the fine string is $FINE_STRING
$FINE_VERSION = [regex]::Match($FINE_STRING, 'fine=(\d+\.\d+\.\d+)=').Groups[1].Value
echo "FINE_VERSION=$FINE_VERSION" >> $GITHUB_OUTPUT
echo $FINE_VERSION
- name: Get other version
shell: pwsh
id: other-version
run: |
$GEOKIT_STRING = conda list -e -n test_env geokit | Out-String
echo The geokit string is $GEOKIT_STRING
$GEOKIT_VERSION = [regex]::Match($GEOKIT_STRING, 'geokit=(\d+\.\d+\.\d+)=').Groups[1].Value
echo "GEOKIT_VERSION=$GEOKIT_VERSION" >> $GITHUB_OUTPUT
echo $GEOKIT_VERSION
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_geokit_comp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
id: other-version
run: |
$GEOKIT_STRING = conda list -e -n test_env geokit | Out-String
echo The geokit string is $GEOKIT_STRING
$GEOKIT_VERSION = [regex]::Match($GEOKIT_STRING, 'geokit=(\d+\.\d+\.\d+)=').Groups[1].Value
echo "GEOKIT_VERSION=$GEOKIT_VERSION" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 4d4d3ff

Please sign in to comment.