Skip to content

Commit

Permalink
Merge pull request #11 from jamessan/build-neovim-releases-on-request
Browse files Browse the repository at this point in the history
Support building a specific Neovim release tag
  • Loading branch information
jamessan authored May 18, 2024
2 parents 359b25f + 1cd8a90 commit 087de72
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ jobs:
apt-get install -y fuse libfuse2 # For linuxdeploy.
# Workaround for https://github.com/actions/checkout/issues/766.
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v3
- if: github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly'
uses: actions/checkout@v3
with:
repository: 'neovim/neovim'
ref: ${{ github.event.inputs.tag_name }}
fetch-depth: 0
- if: github.event_name == 'schedule' || github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
uses: actions/checkout@v3
with:
repository: 'neovim/neovim'
fetch-depth: 0
Expand Down

0 comments on commit 087de72

Please sign in to comment.