Skip to content

Commit 08fa020

Browse files
authored
Refactor workflow steps so smithy error ends workflow
1 parent dea3697 commit 08fa020

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/run_smithy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
git config --global user.name "NWB Extensions Bot"
4343
git config --global init.defaultBranch main
4444
45-
- name: Create catalog record repo for all staged extensions in repo, push new repo to GitHub, remove staged extensions
46-
run: |
47-
smithy_init_all
48-
git push https://${{ secrets.NWB_EXTENSIONS_BOT_GITHUB_TOKEN }}@github.com/nwb-extensions/staged-extensions.git
45+
- name: Create catalog record repo for all staged extensions in repo, push new repo to GitHub
46+
run: smithy_init_all
47+
48+
- name: Remove staged extensions
49+
run: git push https://${{ secrets.NWB_EXTENSIONS_BOT_GITHUB_TOKEN }}@github.com/nwb-extensions/staged-extensions.git

0 commit comments

Comments
 (0)