Skip to content

Commit

Permalink
Test finding spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanabrennan authored Aug 28, 2024
1 parent 3db1299 commit 5451319
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/azure-site-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@ jobs:
echo "AGENT_VERSION=$env:npm_agent_version" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Update nuget spec file name
# working-directory: cloud-tooling/azure-site-extension/Content
run: |
Rename-Item -Path "D:\a\node-newrelic\cloud-tooling\azure-site-extension\Content\zzzNA.Azure.Websites.Extension.NA-`$ARCH`$.nuspec" -NewName "D:\a\node-newrelic\cloud-tooling\azure-site-extension\Content\zzzNA.Azure.Websites.Extension.NA-${{ matrix.arch }}.nuspec"
$baseDir = "D:\a\node-newrelic\node-newrelic"
$contentDir = Join-Path $baseDir "cloud-tooling\azure-site-extension\Content"
$oldName = Join-Path $contentDir "zzzNA.Azure.Websites.Extension.NA-`$ARCH`$.nuspec"
$newName = Join-Path $contentDir "zzzNA.Azure.Websites.Extension.NA-${{ matrix.arch }}.nuspec"
Write-Host "Looking for file: $oldName"
Rename-Item -Path $oldName -NewName $newName
Write-Host "File renamed successfully to: $newName"
- name: Set package filename
run: |
Expand Down

0 comments on commit 5451319

Please sign in to comment.