File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 22 workflow_dispatch :
33
44jobs :
5- build-and-publish :
5+ error-enwrap :
66 runs-on : ubuntu-latest
77 steps :
88 - name : Checkout repository
99 uses : actions/checkout@v3
10+ with :
11+ fetch-depth : 0 # Necessary to fetch all history and allow branch switching
12+
13+ - name : Switch to stdError-Wrapped branch (create if doesn't exist)
14+ run : |
15+ git fetch origin stdError-Wrapped || true
16+ git checkout -B stdError-Wrapped origin/stdError-Wrapped || git checkout -b stdError-Wrapped
1017
1118 - name : Setup Node.js
1219 uses : actions/setup-node@v4
2128 git config user.name "GitHub Actions Bot"
2229 git config user.email "actions@github.com"
2330 git add -A
24- git commit -m "Wrapped latest changes in stdError sentries" || echo "No changes to master "
25- git push -f origin HEAD: stdError-Wrapped
31+ git commit -m "Wrapped latest changes in stdError sentries" || echo "No changes to commit "
32+ git push -f origin stdError-Wrapped
You can’t perform that action at this time.
0 commit comments