diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 450da95..a2cb6b7 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -24,7 +24,9 @@ jobs: if: github.repository_owner == 'ate47' && github.ref == 'refs/heads/master' shell: pwsh run: | - [Convert]::FromBase64String("${{ secrets.PS4_VMCODES_B64 }}") | Out-File .\build\compiler\t7compiler\vm_codes.db2 + $bytes = [Convert]::FromBase64String("${{ secrets.PS4_VMCODES_B64 }}") + $output = (gci ".\build\compiler\t7compiler\vm_codes.db2").FullName + [io.file]::WriteAllBytes($output, $bytes) shell_scripts/compile.ps1 -PS4 "" > build\compiler\t7compiler\vm_codes.db2 - name: Save PS4 artefact