diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml new file mode 100644 index 00000000..65442d85 --- /dev/null +++ b/.github/workflows/luarocks.yml @@ -0,0 +1,30 @@ +name: Push to Luarocks + +on: + push: + tags: + - '*' + pull_request: # Tests a local luarocks install without publishing on PRs + workflow_dispatch: # Allow manual triggering + +jobs: + luarocks-upload: + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: LuaRocks Upload + uses: nvim-neorocks/luarocks-tag-release@v5 + env: + LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} + with: + dependencies: | + plenary.nvim + telescope.nvim + labels: | + neovim + telescope-nvim + detailed_description: | + telescope-file-browser.nvim is a file browser extension for telescope.nvim. + It supports synchronized creation, deletion, renaming, and moving of files and folders + powered by telescope.nvim and plenary.nvim. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..22e99693 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,18 @@ +name: Release Please + +on: + push: + branches: + - master + +jobs: + release: + name: release + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + with: + release-type: simple + package-name: telescope-file-browser.nvim