Пуш данных в REDIS путем EVAL для атомарности #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: https://github.com/TRIGONIM/lua-express/blob/main/.github/workflows/luarocks-release.yml | |
name: "Luarocks Release" | |
on: | |
push: | |
branches: [ "main" ] | |
tags: [ "v*.*.*" ] | |
jobs: | |
luarocks-release: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nvim-neorocks/luarocks-tag-release@v7 | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | |
with: | |
extra_luarocks_args: --force # update lr version on commit | |
summary: "A primitive implementation of the long-polling algorithm" | |
detailed_description: | | |
On github you can find an example of a web server implementation using this library. | |
Link: https://github.com/TRIGONIM/lua-long-polling | |
redis-lua (https://luarocks.org/modules/nrk/redis-lua) is an optional requirenment | |
for those who want to use the redis storage. | |
dependencies: | | |
copas | |
lua-cjson | |
labels: | | |
long-polling | |
async |