Skip to content

Commit 41bae96

Browse files
committed
Create stdError_wrap github action
1 parent ee25dac commit 41bae96

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
workflow_dispatch:
3+
4+
jobs:
5+
build-and-publish:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v3
10+
11+
- name: Setup Node.js
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: "20"
15+
16+
- name: Run stdError wrapping script
17+
run: node ./Tools/VBA-stdError-Wrapper/main.js
18+
19+
- name: Commit and push changes to `stdError-Wrapped` branch
20+
run: |
21+
git config user.name "GitHub Actions Bot"
22+
git config user.email "actions@github.com"
23+
git add -A
24+
git commit -m "Wrapped latest changes in stdError sentries" || echo "No changes to master"
25+
git push origin HEAD:stdError-Wrapped

0 commit comments

Comments
 (0)