* Replace action `jossef/action-set-json-field` with `jaywcjlove/github-action-package`

This commit is contained in:
PikachuEXE 2024-04-17 09:06:16 +08:00
parent ff6f87abbe
commit f9329ea7a0
No known key found for this signature in database
1 changed files with 3 additions and 5 deletions

View File

@ -77,16 +77,14 @@ jobs:
} else if (${{ env.IS_RC }}) { } else if (${{ env.IS_RC }}) {
return "${{ env.VERSION_NUMBER_RC }}" return "${{ env.VERSION_NUMBER_RC }}"
} else { } else {
return "${{env.VERSION_NUMBER }}" return "${{env.VERSION_NUMBER }}"
} }
# script: if ${{ env.IS_DEV }} then echo "::set-output name=VERSION_NUMBER::${{ env.VERSION_NUMBER_NIGHTLY }}" else echo "::set-output name=VERSION_NUMBER::${{ env.VERSION_NUMBER }}" fi # script: if ${{ env.IS_DEV }} then echo "::set-output name=VERSION_NUMBER::${{ env.VERSION_NUMBER_NIGHTLY }}" else echo "::set-output name=VERSION_NUMBER::${{ env.VERSION_NUMBER }}" fi
- name: Update package.json version - name: Update package.json version
uses: jossef/action-set-json-field@v2.1 uses: jaywcjlove/github-action-package@main
with: with:
file: package.json version: ${{ steps.versionNumber.outputs.result }}
field: version
value: ${{ steps.versionNumber.outputs.result }}
- name: Install libarchive-tools - name: Install libarchive-tools