diff --git a/.github/workflows/workflow-package.yml b/.github/workflows/workflow-package.yml index e4b91491c..7562d8b66 100644 --- a/.github/workflows/workflow-package.yml +++ b/.github/workflows/workflow-package.yml @@ -44,18 +44,13 @@ jobs: uses: actions/checkout@v4 # TEMP - # - name: Set package name - # run: echo "PACKAGE_NAME=$(cat package.json | jq -r '.name')" >> $GITHUB_ENV - # - name: Set package version - # run: echo "PACKAGE_VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV - - name: Set package name and version run: | echo "PACKAGE_NAME=$(cat package.json | jq -r '.name')" >> $GITHUB_ENV echo "PACKAGE_VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV - - run: echo $PACKAGE_NAME - - run: echo $PACKAGE_VERSION + - run: echo "${{ env.PACKAGE_NAME }}-${{ env.PACKAGE_VERSION }}" + - run: echo "$PACKAGE_NAME-$PACKAGE_VERSION" # - name: ⎔ Setup node # uses: actions/setup-node@v3