File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change 11name : " Build"
2- on :
3- push :
4- paths-ignore :
5- - ' dist/**'
2+ on : push
63jobs :
74 test_ros :
85 name : Build
129 - uses : actions/setup-node@v1
1310 with :
1411 node-version : ' 12.x'
15- - run : npm ci
1612 - run : rm dist/index.js
17- - run : npm run build
13+ - run : |
14+ npm ci
15+ npm run build
1816 - name : Check if there are changes
1917 id : changes
2018 run : |
21- if [[ `git status --porcelain --ignored` ]]; then
19+ git add --force dist/index.js
20+ if [[ `git diff --staged` ]]; then
2221 echo ::set-output name=changed::1
2322 else
2423 echo ::set-output name=changed::0
2524 fi
2625 - if : steps.changes.outputs.changed == 1
2726 run : |
2827 git config user.email "ros-tooling@users.noreply.github.com"
29- git config user.name "ros-tooling[bot]"
30- git add --force dist
31- git commit -m "$commitmsg" --no-verify
28+ git config user.name "ROS Tooling [bot]"
29+ git commit --no-verify -m "$commitmsg" -s
3230 git push --no-verify
3331 env :
34- commitmsg : |
35- Autobuild
36-
37- GitHub-Workflow: ${{ github.workflow }}
32+ commitmsg : " Autobuild\\ n\\ nGitHub-Workflow: ${{ github.workflow }}"
You can’t perform that action at this time.
0 commit comments