From 6a7beb7a35b728c45a254033066c3a4fa45b4d57 Mon Sep 17 00:00:00 2001 From: RobertGemmaJr Date: Wed, 6 Dec 2023 12:50:26 -0500 Subject: [PATCH] ci: Test env variables --- .github/workflows/workflow-package.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow-package.yml b/.github/workflows/workflow-package.yml index 87e739aa8..0eea120d7 100644 --- a/.github/workflows/workflow-package.yml +++ b/.github/workflows/workflow-package.yml @@ -27,6 +27,9 @@ jobs: package-and-upload: name: Package and Upload runs-on: ${{ matrix.os }} + env: + NAME: cat package.json | jq -r '.name' + VERSION: cat package.json | jq -r '.version' # Run action for [home/clinic] in [windows/macOS/ubuntu] based on user input strategy: @@ -45,9 +48,11 @@ jobs: # TEMP - name: Set package name - run: cat package.json | jq -r '.name' + # run: cat package.json | jq -r '.name' + run: echo "$NAME" - name: Set package version - run: cat package.json | jq -r '.version' + # run: cat package.json | jq -r '.version' + run: echo "$VERSION" # - name: ⎔ Setup node # uses: actions/setup-node@v3