Skip to content

Commit 3a5b40f

Browse files
authored
Merge pull request #17 from torkelrogstad/2024-04-07-ci
ci: only run release push on main merge
2 parents 40aa064 + dba68ff commit 3a5b40f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ jobs:
156156
name: Upload artifacts to releases.drivechain.info
157157
runs-on: ubuntu-latest
158158
needs: [build-linux, build-macos]
159-
if: github.repository_owner == 'LayerTwo-Labs'
159+
# avoid uploading on PRs!
160+
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'LayerTwo-Labs'
160161
steps:
161162
- name: Download artifacts
162163
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)