Skip to content

Commit

Permalink
fix: this was overengineered
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Nov 23, 2023
1 parent 282e63d commit 7cc0769
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-luarocks-rust-build-mlua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ jobs:
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Install `luarocks-build-rust-mlua` Package
id: luarocks-build-rust-mlua
run: |
luarocks --local --lua-version=5.1 install luarocks-build-rust-mlua
echo "version=$(luarocks --local --lua-version=5.1 show luarocks-bulid-rust-mlua --mversion)" >> $GITHUB_OUTPUT
luarocks pack luarocks-build-rust-mlua
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update build artifacts"
file_pattern: "luarocks-build-rust-mlua-${{ steps.luarocks-build-rust-mlua.outputs.version }}.${{ matrix.os.host }}-x86_64.rock"
file_pattern: "*.rock"
4 changes: 1 addition & 3 deletions .github/workflows/build-toml-edit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ jobs:
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Install `toml-edit` Package
id: toml-edit
run: |
luarocks --local --lua-version=5.1 install luarocks-build-rust-mlua
luarocks --local --lua-version=5.1 install toml-edit
echo "version=$(luarocks --local --lua-version=5.1 show toml-edit --mversion)" >> $GITHUB_OUTPUT
luarocks pack toml-edit
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update build artifacts"
file_pattern: "toml-edit-${{ steps.toml-edit.outputs.version }}.${{ matrix.os.host }}-x86_64.rock"
file_pattern: "*.rock"
4 changes: 1 addition & 3 deletions .github/workflows/build-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ jobs:
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Install TOML Package
id: toml
run: |
luarocks --local --lua-version=5.1 install toml
echo "version=$(luarocks --local --lua-version=5.1 show toml --mversion)" >> $GITHUB_OUTPUT
luarocks pack toml
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update build artifacts"
file_pattern: "toml-${{ steps.toml.outputs.version }}.${{ matrix.os.host }}-x86_64.rock"
file_pattern: "*.rock"
Binary file removed luarocks-build-rust-mlua-0.1.2-1.all.rock
Binary file not shown.

0 comments on commit 7cc0769

Please sign in to comment.