|
|
|
@ -2,18 +2,13 @@ name: Release
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
tags:
|
|
|
|
|
branches:
|
|
|
|
|
- 'patch/ci-release-*'
|
|
|
|
|
pull_request:
|
|
|
|
|
paths:
|
|
|
|
|
- '.github/workflows/release.yml'
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
# Preview mode: Publishes the build output as a CI artifact instead of creating
|
|
|
|
|
# a release, allowing for manual inspection of the output. This mode is
|
|
|
|
|
# activated if the CI run was triggered by events other than pushed tags, or
|
|
|
|
|
# if the repository is a fork.
|
|
|
|
|
preview: ${{ !startsWith(github.ref, 'refs/tags/') || github.repository != 'helix-editor/helix' }}
|
|
|
|
|
preview: ${{ !startsWith(github.ref, 'refs/tags/')}}
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
fetch-grammars:
|
|
|
|
|