Skip to content

Commit

Permalink
Updated to Invoke-WebRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiegl committed Mar 11, 2024
1 parent 359869e commit eb4fc2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ConsistencyCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ModelCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb4fc2c

Please sign in to comment.