Skip to content

Commit

Permalink
Merge pull request #17 from torkelrogstad/2024-04-07-ci
Browse files Browse the repository at this point in the history
ci: only run release push on main merge
  • Loading branch information
psztorc authored Apr 7, 2024
2 parents 40aa064 + dba68ff commit 3a5b40f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ jobs:
name: Upload artifacts to releases.drivechain.info
runs-on: ubuntu-latest
needs: [build-linux, build-macos]
if: github.repository_owner == 'LayerTwo-Labs'
# avoid uploading on PRs!
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'LayerTwo-Labs'
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 3a5b40f

Please sign in to comment.