Merge pull request #1 from aziascreations/dev-actions

* Finished GitHub Actions
* Minor touches to main readme
This commit is contained in:
2026-04-09 18:17:10 +02:00
committed by GitHub
3 changed files with 20 additions and 11 deletions
+5 -2
View File
@@ -12,7 +12,6 @@ concurrency:
jobs:
run:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
@@ -27,10 +26,14 @@ jobs:
uses: lunarmodules/ldoc@v1.5.0
with:
args: .
- name: Copying files
run: |
sudo cp LICENSE doc/topics/LICENSE
- name: Deploy documentation to gh-pages
uses: peaceiris/actions-gh-pages@v4
#if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc
+13 -7
View File
@@ -2,8 +2,8 @@ name: Packaging Lua
on:
push:
# branches:
# - master
branches:
- master
pull_request:
workflow_dispatch:
@@ -13,7 +13,6 @@ concurrency:
jobs:
run:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
@@ -26,19 +25,26 @@ jobs:
- name: Preparing build directory
run: |
mkdir -p build/lua
mkdir -p build/lua/doc
- name: Build LDoc documentation
uses: lunarmodules/ldoc@v1.5.0
with:
args: .
- name: Copying files
run: |
cp readme.md build/readme.md
cp LICENSE build/LICENSE
cp lua/*.lua build/lua/
cp demo.lua build/demo.lua
cp -R doc/ build/doc/
cp LICENSE build/doc/topics/LICENSE
- name: Upload artifact (socket.7z)
uses: actions/upload-artifact@v4
#if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: sleep.7z
name: LuaJIT-Sleep
path: build/
compression-level: 0
retention-days: 30
+2 -2
View File
@@ -1,8 +1,8 @@
# LuaJIT - Sleep
Pure LuaJIT bindings and wrappers for native sleep functions on Win32 and Linux.
**📢 This is library is in low maintenance mode** \
I consider it feature-complete, and unless a bug is found, I don't plan on updating it.
> **📢 This is library is in low maintenance mode** \
I consider it feature-complete, and unless a bug is found, I don't plan on updating it.
## Features