Skip to content

Commit

Permalink
Deprecate set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Apr 17, 2024
1 parent 488927a commit 4af6b49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
- name: Get version
id: version
shell: bash
run: echo ::set-output name=VERSION::"$([[ "$GITHUB_REF" == refs/tags/v* ]] && echo ${GITHUB_REF#refs/tags/v} || echo '0.0.0')"
run: |
echo "VERSION=$([[ "$GITHUB_REF" == refs/tags/v* ]] && echo ${GITHUB_REF#refs/tags/v} || echo '0.0.0')" >> $GITHUB_OUTPUT
- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -29,7 +30,7 @@ jobs:
run: |
npm install
npm run build-release
echo ::set-output name=BINARY_NAME::"$(node -e 'console.log([process.platform, process.arch].join("__"))')"
echo "BINARY_NAME=$(node -e 'console.log([process.platform, process.arch].join("__"))')" >> $GITHUB_OUTPUT
- name: Upload to R2
run: |
Expand Down

0 comments on commit 4af6b49

Please sign in to comment.