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