Skip to content

Commit

Permalink
* Replace action jossef/action-set-json-field with `jaywcjlove/gith…
Browse files Browse the repository at this point in the history
…ub-action-package`
  • Loading branch information
PikachuEXE committed Apr 17, 2024
1 parent ff6f87a commit f9329ea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,14 @@ jobs:
} else if (${{ env.IS_RC }}) {
return "${{ env.VERSION_NUMBER_RC }}"
} 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

- name: Update package.json version
uses: jossef/action-set-json-field@v2.1
uses: jaywcjlove/github-action-package@main
with:
file: package.json
field: version
value: ${{ steps.versionNumber.outputs.result }}
version: ${{ steps.versionNumber.outputs.result }}


- name: Install libarchive-tools
Expand Down

0 comments on commit f9329ea

Please sign in to comment.