Skip to content

Commit

Permalink
Little changes to deploy workflow summary output
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanH-AT committed Jan 4, 2023
1 parent d0bdcf6 commit a6617e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@ jobs:
echo "Run Number: ${{ github.run_number }} " >> $GITHUB_STEP_SUMMARY
echo "Run Attempt: ${{ github.run_attempt }} " >> $GITHUB_STEP_SUMMARY
echo "Node Version: $(node --version) - NPM Version: $(npm --version) " >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "---" >> $GITHUB_STEP_SUMMARY
echo "Package Name: **${{ inputs.package-name }}** " >> $GITHUB_STEP_SUMMARY
- name: Read package.json
id: package-json
run: |
echo "PACKAGE_JSON<<GH-EOF" >> $GITHUB_ENV
cat ./package.json >> $GITHUB_ENV
echo "GH-EOF" >> $GITHUB_ENV
- name: "Read package version"
run: |
version=${{ fromJson(env.PACKAGE_JSON).version }}
Expand Down Expand Up @@ -113,4 +114,5 @@ jobs:

- name: Summary Footer
run: |
echo "Created GitHub [Release](https://github.com/source-lib/sourcelib/releases/tag/${{inputs.package-name}}-$VERSION)" >> $GITHUB_STEP_SUMMARY
echo "Discord Message sent successfully" >> $GITHUB_STEP_SUMMARY

0 comments on commit a6617e5

Please sign in to comment.