Skip to content

Commit

Permalink
fix(ci/build-toml): use github action instead of manually installing
Browse files Browse the repository at this point in the history
luarocks
  • Loading branch information
vhyrro committed Nov 23, 2023
1 parent e40f704 commit 7b37908
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@ jobs:
with:
luaVersion: "5.1"
- name: Install Luarocks
uses: actions/checkout@v4
with:
fetch-depth: 1
repository: luarocks/luarocks
- name: Configure and Install Luarocks
run: |
./configure --prefix=$HOME/rocks/ --lua-version=5.1 --force-config --with-lua=$PWD/.lua
make install
uses: leafo/gh-actions-luarocks@v4
- name: Install TOML Package
run: |
./rocks/bin/luarocks --local install toml
./rocks/bin/luarocks pack toml
luarocks --local install toml
luarocks pack toml
- uses: actions/upload-artifact@v3
with:
name: output
Expand Down

0 comments on commit 7b37908

Please sign in to comment.