Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: rename/reformat luarocks ci workflow #159

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Luarocks

name: luarocks
on:
push:
tags:
Expand All @@ -9,17 +8,15 @@ on:
- created
pull_request: # Tests luarocks install from generated rockspec on PR without uploading
workflow_dispatch:

jobs:
luarocks-upload:
upload:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to get the tags
- name: Get Version
run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV

# Needed to build the tree-sitter-go dependency
- name: Install C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
Expand All @@ -29,7 +26,6 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: tree-sitter-cli

- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v7
env:
Expand Down
Loading