debug ci
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -49,6 +49,8 @@ jobs:
|
|||||||
|
|
||||||
- name: compile-basalt
|
- name: compile-basalt
|
||||||
run: cd ${{ github.workspace }} && lua scripts/compiler.lua
|
run: cd ${{ github.workspace }} && lua scripts/compiler.lua
|
||||||
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ if not dirExists(buildPath) then
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
print("Writing to %s/%s%s", lfs.currentdir(), buildPath, sourceFileName)
|
||||||
|
|
||||||
local sourceFileName = "basalt.lua"
|
local sourceFileName = "basalt.lua"
|
||||||
local sourceFile = io.open(buildPath .. sourceFileName, "w")
|
local sourceFile = io.open(buildPath .. sourceFileName, "w")
|
||||||
|
|
||||||
print("Writing to " .. lfs.currentdir())
|
|
||||||
|
|
||||||
sourceFile:write(compiledSource)
|
sourceFile:write(compiledSource)
|
||||||
sourceFile:close()
|
sourceFile:close()
|
||||||
Reference in New Issue
Block a user