Skip to content

Commit

Permalink
Ficx
Browse files Browse the repository at this point in the history
  • Loading branch information
pmahend1 committed Dec 3, 2024
1 parent 8dc4178 commit cdebd4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
Write-Host "Pass ✅"
- name: Get current version from package.json
id: getpackageversion
id: getPackageVersion
shell: pwsh
run: |
$package = Get-Content .\package.json | ConvertFrom-Json
Expand All @@ -45,7 +45,7 @@ jobs:
"VERSION=$version" >> $env:GITHUB_OUTPUT
- name: Get published version from VS Code extension REST API
id: get-published-version
id: getPublishedVersion
run: |
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("VSMarketplaceBadge", "1.0")
Expand All @@ -61,7 +61,7 @@ jobs:
id: compare
shell: pwsh
run: |
$localVersion = [System.Version]('${{ steps.getpackageversion.outputs.VERSION }}')
$localVersion = [System.Version]('${{ steps.getPackageVersion.outputs.VERSION }}')
$storeVersion = [System.Version]('${{ steps.getPublishedVersion.outputs.PUB_VERSION }}')
if ($localVersion -gt $storeVersion) {
Expand Down

0 comments on commit cdebd4d

Please sign in to comment.