File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11+ if : github.actor != 'github-actions[bot]'
1112 runs-on : ${{ matrix.os }}
1213 strategy :
1314 matrix :
3940
4041 - name : Build
4142 if : startsWith(matrix.os, 'windows')
42- run : go build -v -o ./bin/hsa.exe
43+ run : go build -v -o ./bin/hsa.exe
44+
45+ - name : Commit and Push Binaries (Ubuntu)
46+ if : startsWith(matrix.os, 'ubuntu')
47+ run : |
48+ git config --local user.email "action@github.com"
49+ git config --local user.name "GitHub Action"
50+ git add ./bin/hsa
51+ git commit -m "Add Ubuntu built binary [skip ci]"
52+ git push
53+
54+ - name : Commit and Push Binaries (MacOS)
55+ if : startsWith(matrix.os, 'macos')
56+ run : |
57+ git config --local user.email "action@github.com"
58+ git config --local user.name "GitHub Action"
59+ git add ./bin/hsamac
60+ git commit -m "Add MacOS built binary [skip ci]"
61+ git push
62+
63+ - name : Commit and Push Binaries (Windows)
64+ if : startsWith(matrix.os, 'windows')
65+ run : |
66+ git config --local user.email "action@github.com"
67+ git config --local user.name "GitHub Action"
68+ git add ./bin/hsa.exe
69+ git commit -m "Add Windows built binary [skip ci]"
70+ git push
You can’t perform that action at this time.
0 commit comments