2 Commits

Author SHA1 Message Date
aziascreations abb4bc4a70 Added explicit nil return value, Bumped to 2.0.0
Update sleep.lua
2026-04-12 08:47:18 +02:00
aziascreations 09c7a750f9 Fixed library code not being in artifacts
Update packaging.yml
2026-04-09 18:31:55 +02:00
3 changed files with 0 additions and 58 deletions
-36
View File
@@ -1,36 +0,0 @@
name: Build & Upload Rockspec
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: rockspec-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Git submodules
uses: actions/checkout@v6
with:
submodules: true
fetch-depth: 0
- name: Install LuaRocks & build
run: |
sudo apt-get install -y luarocks
luarocks pack np-sleep-2.0.0-1.rockspec
- name: Upload rock artifact
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: rockspec-artifact
path: "*.rock"
compression-level: 0
retention-days: 30
-1
View File
@@ -23,4 +23,3 @@ scripts/luapack.lua
*.packed.lua *.packed.lua
*.lua.bin *.lua.bin
*.lua.raw *.lua.raw
*.rock
-21
View File
@@ -1,21 +0,0 @@
package = "np-sleep"
version = "2.0.0-1"
source = {
url = "https://github.com/aziascreations/LuaJIT-Sleep/archive/refs/tags/v2.0.0.tar.gz",
dir = "LuaJIT-Sleep-2.0.0",
}
description = {
summary = "Pure LuaJIT bindings and wrappers for Win32 and Linux sleep functions.",
detailed = "Module that exposes millisecond and second precision sleep functions for Linux and Windows without having to compile anything.",
homepage = "https://github.com/aziascreations/LuaJIT-Sleep",
license = "CC0 1.0 Universal"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "builtin",
modules = {
sleep = "lua/sleep.lua"
},
}