feat: add luarocks publish workflow and 0.1.5 rockspec#11
Merged
Conversation
Add GitHub Actions workflow for publishing to LuaRocks (supports manual trigger and tag push), and create the 0.1.5 rockspec. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds LuaRocks release automation for lua-reqwest by introducing a GitHub Actions publishing workflow and a new rockspec for version 0.1.5-1.
Changes:
- Add
lua-reqwest-0.1.5-1.rockspecpointing at git tag0.1.5. - Add
.github/workflows/publish.ymlto upload the rockspec to LuaRocks on manual trigger or tag pushes.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| lua-reqwest-0.1.5-1.rockspec | New rockspec for the 0.1.5-1 LuaRocks release. |
| .github/workflows/publish.yml | New GitHub Actions workflow to publish the rockspec to LuaRocks. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+5
to
+26
| push: | ||
| tags: | ||
| - "*" | ||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Install LuaRocks | ||
| uses: hishamhm/gh-actions-lua@master | ||
| with: | ||
| luaVersion: "5.1" | ||
|
|
||
| - uses: hishamhm/gh-actions-luarocks@master | ||
|
|
||
| - name: Upload to LuaRocks | ||
| env: | ||
| LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | ||
| run: | | ||
| TAG="${GITHUB_REF#refs/tags/}" |
Comment on lines
+16
to
+20
| uses: hishamhm/gh-actions-lua@master | ||
| with: | ||
| luaVersion: "5.1" | ||
|
|
||
| - uses: hishamhm/gh-actions-luarocks@master |
Comment on lines
+15
to
+20
| - name: Install LuaRocks | ||
| uses: hishamhm/gh-actions-lua@master | ||
| with: | ||
| luaVersion: "5.1" | ||
|
|
||
| - uses: hishamhm/gh-actions-luarocks@master |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GitHub Actions workflow for publishing to LuaRocks (supports manual trigger and tag push), and create the 0.1.5 rockspec.