From acd84a42cb3cdde3e4f5972532187d7bcdf087bc Mon Sep 17 00:00:00 2001 From: David Alsh Date: Mon, 26 Feb 2024 21:07:05 +1100 Subject: [PATCH] added version logging --- .github/workflows/release.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 58a65849..f12d352d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -281,23 +281,17 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: 20 } - - - name: Setup Dependencies + - name: Build NPM + env: + BIN_VERSION: ${{ needs.vars.outputs.NEXT_BIN_VERSION }} + NPM_VERSION: ${{ needs.vars.outputs.NEXT_NPM_VERSION }} + NPM_BIN_TARGET: ${{ needs.vars.outputs.BRANCH_NAME }} run: | npm install -g npm pnpm pnpm install - - name: Build - env: - BIN_VERSION: ${{ needs.vars.outputs.NEXT_BIN_VERSION }} - run: | node .github/scripts/run.mjs build - - name: Package - env: - NPM_VERSION: ${{ needs.vars.outputs.NEXT_NPM_VERSION }} - NPM_BIN_TARGET: ${{ needs.vars.outputs.BRANCH_NAME }} - run: | echo "NPM_VERSION = $NPM_VERSION" echo "NPM_BIN_TARGET = $NPM_BIN_TARGET" cd npm/mach