Skip to content

Commit

Permalink
ci: Test with package info
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Dec 6, 2023
1 parent 3b5c262 commit 6c5b3c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:

# TEMP
- name: Set package name and version
id: package_info
run: |
echo "PACKAGE_NAME=$(cat package.json | jq -r '.name')" >> $GITHUB_ENV
echo "PACKAGE_VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV
echo "name=$(cat package.json | jq -r '.name')" >> $GITHUB_OUTPUT
echo "version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
- run: echo "${{ env.PACKAGE_NAME }}-${{ env.PACKAGE_VERSION }}"
- run: echo "$PACKAGE_NAME-$PACKAGE_VERSION"
- run: echo "${{ steps.package_info.outputs.name }}-${{ steps.package_info.outputs.version }}"

# - name: ⎔ Setup node
# uses: actions/setup-node@v3
Expand Down

0 comments on commit 6c5b3c8

Please sign in to comment.