Skip to content

Commit

Permalink
Stop using deprecated github action set-output command
Browse files Browse the repository at this point in the history
  • Loading branch information
vti committed Apr 9, 2023
1 parent a0b3cf6 commit 25aa74e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: get version
run: |
VERSION="$(node -p "require('./package.json').version")"
echo "::set-output name=VERSION::$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
id: version
- uses: actions/upload-artifact@v3
with:
Expand All @@ -37,7 +37,7 @@ jobs:
- name: get version
run: |
VERSION="$(node -p "require('./package.json').version")"
echo "::set-output name=VERSION::$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
id: version
- uses: actions/upload-artifact@v3
with:
Expand All @@ -59,7 +59,7 @@ jobs:
- name: get version
run: |
$VERSION=(node -p "require('./package.json').version")
Write-Output "::set-output name=VERSION::$VERSION"
Write-Output "VERSION=$VERSION" | Out-File -FilePath $env:GITHUB_OUTPUT
id: version
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 25aa74e

Please sign in to comment.