Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
salix5 authored Oct 20, 2024
1 parent 6e14322 commit 4eb82b1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:

- name: Install lua
run: |
curl --retry 5 --connect-timeout 30 --output-dir "temp" --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.4.7.tar.gz
tar -xzf temp\lua-5.4.7.tar.gz
curl --retry 5 --connect-timeout 30 --create-dirs --output-dir "temp" --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.4.7.tar.gz
tar -xzf temp/lua-5.4.7.tar.gz
move lua-5.4.7 lua
- name: Premake
run: |
curl --retry 5 --connect-timeout 30 --output-dir "temp" --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-windows.zip
7z x temp\premake-5.0.0-beta2-windows.zip -opremake5
move premake\lua.lua lua\premake5.lua
move premake\dll.lua dll.lua
.\premake5\premake5.exe vs2022 --file=dll.lua
curl --retry 5 --connect-timeout 30 --create-dirs --output-dir "temp" --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-windows.zip
7z x temp/premake-5.0.0-beta2-windows.zip -opremake5
move premake/lua.lua lua/premake5.lua
move premake/dll.lua dll.lua
./premake5/premake5.exe vs2022 --file=dll.lua
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
Expand Down

0 comments on commit 4eb82b1

Please sign in to comment.