This commit is contained in:
Samkist
2022-06-03 03:44:28 -04:00
parent 52597d66a3
commit eb1d793ab1
2 changed files with 4 additions and 2 deletions

View File

@@ -49,6 +49,8 @@ jobs:
- name: compile-basalt
run: cd ${{ github.workspace }} && lua scripts/compiler.lua
- name: Upload artifact
uses: actions/upload-artifact@v2
with:

View File

@@ -35,10 +35,10 @@ if not dirExists(buildPath) then
return
end
print("Writing to %s/%s%s", lfs.currentdir(), buildPath, sourceFileName)
local sourceFileName = "basalt.lua"
local sourceFile = io.open(buildPath .. sourceFileName, "w")
print("Writing to " .. lfs.currentdir())
sourceFile:write(compiledSource)
sourceFile:close()