ci: Update build.yml workflow

pull/7004/head
Nicolas Giard 1 year ago committed by GitHub
parent de14e7c4de
commit 5677d85305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,10 +13,10 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
@ -32,7 +32,7 @@ jobs:
- name: Disable DEV Flag + Set Version
working-directory: server
run: |
sudo apt-get install jq -y
brew install jq
mv package.json pkg-temp.json
jq --arg vs "$REL_VERSION_STRICT" -r '. + {dev:false, version:$vs}' pkg-temp.json > package.json
rm pkg-temp.json

Loading…
Cancel
Save