We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f4996 commit d826713Copy full SHA for d826713
.github/workflows/buildcommit.yml
@@ -1,10 +1,11 @@
1
-name: build and commit
+name: build test and commit
2
3
on:
4
push:
5
branches: [ master, dev ]
6
7
- workflow_dispatch:
+ pull_request:
8
+ branches: [ master ]
9
10
jobs:
11
@@ -90,6 +91,7 @@ jobs:
90
91
commit-artifacts:
92
runs-on: ubuntu-latest
93
needs: [build-linux-gnu, build-windows]
94
+ if: ${{ github.event_name == 'push' }}
95
steps:
96
- uses: actions/checkout@v2
97
- uses: actions/download-artifact@v2
@@ -102,4 +104,4 @@ jobs:
102
104
git config --global user.email 'automation-tool@users.noreply.github.com'
103
105
git add lib/*.a lib/*.lib
106
git diff-index --quiet HEAD || git commit -m "Automated build"
-
107
+ git push
.github/workflows/test.yml
0 commit comments