Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MunifTanjim/luver-action
🌛 Set up your GitHub Actions workflow with specific versions of Lua, LuaJIT, LuaRocks using Luver :heart:
https://github.com/MunifTanjim/luver-action
github-actions lua luajit luarocks luver
Last synced: about 2 months ago
JSON representation
🌛 Set up your GitHub Actions workflow with specific versions of Lua, LuaJIT, LuaRocks using Luver :heart:
- Host: GitHub
- URL: https://github.com/MunifTanjim/luver-action
- Owner: MunifTanjim
- License: mit
- Created: 2021-11-27T11:45:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T09:03:08.000Z (almost 3 years ago)
- Last Synced: 2024-07-21T20:30:38.603Z (2 months ago)
- Topics: github-actions, lua, luajit, luarocks, luver
- Language: Shell
- Homepage: https://github.com/marketplace/actions/setup-lua-with-luver
- Size: 5.86 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Luver GitHub Action
:first_quarter_moon_with_face: Set up your GitHub Actions workflow with specific versions of Lua, LuaJIT, LuaRocks using _**[Luver](https://github.com/MunifTanjim/luver)**_ :heart:
## Usage
See [action.yml](./action.yml)
**Basic:**
```yml
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/luver-action@v1
- run: |
luver install lua 5.4.3
luver use 5.4.3
luver install luarocks 3.8.0
- run: |
luarocks install luacheck
```**Pre-install versions:**
```yml
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/luver-action@v1
with:
lua_versions: 5.1.5 5.4.3
luajit_versions: 5.1.5:2.1.0-beta3
luarocks_versions: 5.1.5:3.7.0 5.4.3:3.8.0
- run: |
luver use 5.1.5
lua -v
luajit -v
luarocks --version
```**Set default lua version:**
```yml
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/luver-action@v1
with:
default: 5.1.5
lua_versions: 5.1.5 5.4.3
- run: |
lua -v
```## License
Licensed under the MIT License. Check the [LICENSE](./LICENSE) file for details.