Skip to content

Commit

Permalink
ci: combine release and luarocks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Apr 28, 2024
1 parent 5800f58 commit 7fa5545
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/luarocks-release.yaml

This file was deleted.

16 changes: 15 additions & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: neotest Workflow
name: nvim-nio Workflow
on:
push:
branches:
Expand Down Expand Up @@ -75,3 +75,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release

luarocks-upload:
runs-on: ubuntu-22.04
needs: release
steps:
- uses: actions/checkout@v3
- name: Get Version
run: echo "LUAROCKS_VERSION=$(git fetch --tags; git describe --abbrev=0 --tags)" >> $GITHUB_ENV
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
version: ${{ env.LUAROCKS_VERSION }}

0 comments on commit 7fa5545

Please sign in to comment.