Skip to content

Update LUA new-tag

Update LUA new-tag #14

Workflow file for this run

name: Build and release Lua NGINX module
on:
workflow_dispatch:
push:
tags:
- "lua-*"
jobs:
build-lua:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build modules (linux/amd64) and export artifacts
run: |
docker buildx build \
--platform=linux/amd64 \
-f build/Dockerfile.luam \
--target out \
--output type=local,dest=./artifacts \
--progress=plain \
--no-cache \
.
- name: List artifacts
run: ls -lah artifacts
- name: Create checksums
run: |
cd artifacts
sha256sum * > SHA256SUMS
- name: Upload Lua modules to GitHub Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
artifacts/ndk_http_module.so
artifacts/ngx_http_lua_module.so
artifacts/libluajit-5.1.so.2
artifacts/SHA256SUMS
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}