mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
chore(workflow): switch yarn audit in release to a collapsed section (#534)
This commit is contained in:
parent
ff854a4f88
commit
2e67d2bc9f
3
.github/workflows/release-npm.yml
vendored
3
.github/workflows/release-npm.yml
vendored
@ -51,9 +51,12 @@ jobs:
|
||||
working-directory: ${{ matrix.package.path }}
|
||||
run: |
|
||||
echo "# Yarn Audit Results" | tee -a ${{runner.workspace }}/notes.md
|
||||
echo "\n<details>" >> ${{runner.workspace }}/notes.md
|
||||
echo "<summary>click to view</summary>\n" >> ${{runner.workspace }}/notes.md
|
||||
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
|
||||
yarn audit 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
||||
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
|
||||
echo "</details>\n" >> ${{runner.workspace }}/notes.md
|
||||
- name: Publish ${{ matrix.package.name }}
|
||||
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
||||
working-directory: ${{ matrix.package.path }}
|
||||
|
Loading…
Reference in New Issue
Block a user