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: jobs:
run: run:
needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@@ -28,9 +27,13 @@ jobs:
with: with:
args: . args: .
- name: Copying files
run: |
sudo cp LICENSE doc/topics/LICENSE
- name: Deploy documentation to gh-pages - name: Deploy documentation to gh-pages
uses: peaceiris/actions-gh-pages@v4 uses: peaceiris/actions-gh-pages@v4
#if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc publish_dir: ./doc
+13 -7
View File
@@ -2,8 +2,8 @@ name: Packaging Lua
on: on:
push: push:
# branches: branches:
# - master - master
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
@@ -13,7 +13,6 @@ concurrency:
jobs: jobs:
run: run:
needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@@ -26,19 +25,26 @@ jobs:
- name: Preparing build directory - name: Preparing build directory
run: | 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 - name: Copying files
run: | run: |
cp readme.md build/readme.md cp readme.md build/readme.md
cp LICENSE build/LICENSE 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) - name: Upload artifact (socket.7z)
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
#if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
with: with:
name: sleep.7z name: LuaJIT-Sleep
path: build/ path: build/
compression-level: 0 compression-level: 0
retention-days: 30 retention-days: 30
+2 -2
View File
@@ -1,8 +1,8 @@
# LuaJIT - Sleep # LuaJIT - Sleep
Pure LuaJIT bindings and wrappers for native sleep functions on Win32 and Linux. Pure LuaJIT bindings and wrappers for native sleep functions on Win32 and Linux.
**📢 This is library is in low maintenance mode** \ > **📢 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. I consider it feature-complete, and unless a bug is found, I don't plan on updating it.
## Features ## Features