From eb4fc2c5d72da651b558f4a9deebb62bc806a2cd Mon Sep 17 00:00:00 2001 From: Daniel Siegl Date: Mon, 11 Mar 2024 10:41:24 +0100 Subject: [PATCH] Updated to Invoke-WebRequest --- .github/workflows/ConsistencyCheck.yml | 2 +- .github/workflows/ModelCheck.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ConsistencyCheck.yml b/.github/workflows/ConsistencyCheck.yml index 521b132..fdf1c53 100644 --- a/.github/workflows/ConsistencyCheck.yml +++ b/.github/workflows/ConsistencyCheck.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 # download Lemontree.Automation on a runner and setup the license - - uses: LieberLieber/setup-LemonTree.Automation@v1 + - uses: LieberLieber/setup-LemonTree.Automation@v5 id: GetLTA with: License: ${{secrets.LTALICENSE}} diff --git a/.github/workflows/ModelCheck.yml b/.github/workflows/ModelCheck.yml index 2dd71cb..aed2e4d 100644 --- a/.github/workflows/ModelCheck.yml +++ b/.github/workflows/ModelCheck.yml @@ -16,16 +16,17 @@ jobs: runs-on: windows-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: lfs: true fetch-depth: 0 - name: Download LemonTree Check Tool run: | - #Powershell sees curly brackets as codeblocks so use quotations marks "{}" or just write your guids without them - while (Test-Path Alias:curl) {Remove-Item Alias:curl} #remove the alias binding from curl to Invoke-WebRequest - curl "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe" --output .\LemonTree.Pipeline.Tools.ModelCheck.exe -k + # Powershell sees curly brackets as codeblocks so use quotations marks "{}" or just write your guids without them + # while (Test-Path Alias:curl) {Remove-Item Alias:curl} #remove the alias binding from curl to Invoke-WebRequest + # curl "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe" --output .\LemonTree.Pipeline.Tools.ModelCheck.exe -k + Invoke-WebRequest -URI "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe" -OutFile .\LemonTree.Pipeline.Tools.ModelCheck.exe - name: Run LemonTree Check Tool id: modelcheck