fix: Use os.time() instead of os.clock() for session file naming.
#315
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pushed | |
| on: | |
| push: | |
| paths: | |
| - '**.luau' | |
| - '**.lua' | |
| - '**.rbxm' | |
| - '**.rbxmx' | |
| - '**.json' | |
| pull_request: | |
| paths: | |
| - '**.luau' | |
| - '**.lua' | |
| - '**.rbxm' | |
| - '**.rbxmx' | |
| - '**.json' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| name: Bundle Script | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup RoKit | |
| uses: CompeyDev/[email protected] | |
| - name: Install Necessary Tools | |
| run: | | |
| rokit trust rojo-rbx/rojo | |
| rokit trust lune-org/lune | |
| rokit trust seaofvoices/darklua | |
| rokit install | |
| - name: Bundle | |
| run: lune run Build bundle header=Build/Header.luau minify=true ci-mode=true | |
| - name: Upload Minified Script to Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Script.luau | |
| path: Distribution/Script.luau |