Skip to content

Commit

Permalink
Switch to only pushing build artifacts on PRs to handle protected bra…
Browse files Browse the repository at this point in the history
…nch stuff
  • Loading branch information
nstrayer committed Oct 3, 2023
1 parent a51288b commit ff2f979
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/Build-Assets.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
# Run build pipeline and commit the results so the assets users install dont ever get stale
name: Build Assets
on:
push:
pull_request:
branches: [main]
# Don't trigger this action when only build targets change
paths-ignore:
- "inst/editor/build/**"
- "inst/treesitter-parsers/dist/**"
- "inst/vscode-extension/build/**"
- "inst/vscode-extension/*.vsix"
pull_request:
branches: [main]
# Don't trigger this action when only build targets change
paths-ignore:
- "inst/editor/build/**"
- "inst/treesitter-parsers/dist/**"
- "inst/vscode-extension/build/**"
- "inst/vscode-extension/*.vsix"

concurrency:
group: ci-build-${{ github.ref }}-1
Expand Down

0 comments on commit ff2f979

Please sign in to comment.