mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
fix(workflow): Fail the build if publishing has nonzero exit code (#664)
This commit is contained in:
parent
3218af63ef
commit
b6797096e5
2
.github/workflows/release-cargo.yml
vendored
2
.github/workflows/release-cargo.yml
vendored
@ -85,7 +85,7 @@ jobs:
|
||||
run: |
|
||||
echo "# Cargo Publish" | tee -a ${{runner.workspace }}/notes.md
|
||||
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
|
||||
cargo publish --no-verify 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
||||
set -o pipefail && cargo publish --no-verify 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
||||
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
|
||||
- name: Create Release
|
||||
id: create_crate_release
|
||||
|
2
.github/workflows/release-npm.yml
vendored
2
.github/workflows/release-npm.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
run: |
|
||||
echo "# NPM Package Publish" | tee -a ${{runner.workspace }}/notes.md
|
||||
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
|
||||
npm publish 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
||||
set -o pipefail && npm publish 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
||||
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
|
||||
- name: Create Release
|
||||
id: create_npm_release
|
||||
|
Loading…
Reference in New Issue
Block a user