Skip to content

Commit

Permalink
Merge pull request #39 from arunsathiya/main
Browse files Browse the repository at this point in the history
ci: Use GITHUB_OUTPUT envvar instead of set-output command
  • Loading branch information
dacort committed Jan 22, 2024
2 parents 9fbf1a9 + 694781f commit cc3c3f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Setup package path
id: setup
run: echo "::set-output name=packageName::$(node -e "console.log(require('./package.json').name + '-' + require('./package.json').version + '.vsix')")"
run: echo "packageName=$(node -e "console.log(require('./package.json').name + '-' + require('./package.json').version + '.vsix')")" >> "$GITHUB_OUTPUT"

- name: Package
run: |
Expand All @@ -58,8 +58,8 @@ jobs:
run: |
$version = (Get-Content ./package.json -Raw | ConvertFrom-Json).version
Write-Host "tag: v$version"
Write-Host "::set-output name=tag::v$version"
Write-Host "::set-output name=version::$version"
Write-Host "tag=v$version" >> "$GITHUB_OUTPUT"
Write-Host "version=$version" >> "$GITHUB_OUTPUT"
shell: pwsh

publishMS:
Expand Down

0 comments on commit cc3c3f7

Please sign in to comment.