Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
feat(ci): only run on release
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Nov 4, 2022
1 parent 7aa022c commit b00c478
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
- "**"
pull_request:
workflow_dispatch:
inputs:
Expand All @@ -28,7 +27,7 @@ jobs:

runs-on: ${{ matrix.os }}
# Build artifacts are only needed for releasing workflow.
# if: startsWith(github.ref, 'refs/heads/release/')
if: startsWith(github.ref, 'refs/heads/release/')
name: ${{ matrix.os }} (node=${{ matrix.node-version }}, host=${{ matrix.host }}, target=${{ matrix.target }})
steps:
- name: Check out current commit
Expand Down Expand Up @@ -76,7 +75,7 @@ jobs:
runs-on: ubuntu-latest
needs: [precompile-bindings]
# Build artifacts are only needed for releasing workflow.
# if: startsWith(github.ref, 'refs/heads/release/')
if: startsWith(github.ref, 'refs/heads/release/')
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit b00c478

Please sign in to comment.