From 5677d853054f143e334a3dc47fcbf60131508af4 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 4 Nov 2023 19:24:18 -0400 Subject: [PATCH] ci: Update build.yml workflow --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49ee7dc8..57fcf582 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -27,12 +27,12 @@ jobs: - name: Set Build Variables run: | - echo "REL_VERSION=3.0.0-alpha.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV + echo "REL_VERSION=3.0.0-alpha.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV - 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