chunked_publish #184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Dev Release LuaRocks | |
on: | |
repository_dispatch: | |
types: [chunked_publish] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 10 # Don't DDOS the luarocks servers | |
matrix: | |
plugin: ${{ github.event.client_payload.plugins }} | |
steps: | |
- name: Checkout plugin repository | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ matrix.plugin.name }} | |
path: . | |
- run: | | |
echo "GITHUB_REPOSITORY_OVERRIDE=${{ matrix.plugin.name }}" >> $GITHUB_ENV | |
echo "GITHUB_SHA_OVERRIDE=$(git rev-parse HEAD)" >> $GITHUB_ENV | |
- name: Publish Development LuaRock | |
uses: nvim-neorocks/luarocks-tag-release@v5 | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | |
with: | |
name: ${{ matrix.plugin.shorthand }} | |
dependencies: ${{ matrix.plugin.dependencies }} | |
version: "scm" | |
summary: ${{ matrix.plugin.summary }} | |
license: ${{ matrix.plugin.license }} | |
labels: neovim | |
test_interpreters: "" # Don't try to run busted tests | |
extra_luarocks_args: | | |
--namespace=neorocks | |
--force |