This is a GitHub action that allows you to integrate PSU obfuscation into your pipeline.
- A PSU Premium subscription
- Your API key
- Your Lua script to be obfuscated
Multiple files cannot be obfuscated at once at this time - this issue will be addressed in a later release of the action.
Create a workflow .yml file in .github/workflows inside of your repository. An example workflow can be found below.
path- The path to the file to be obfuscatedapiKey- Your PSU API key, this can be specified through GitHub's secrets.
file- The obfuscated file
name: Example Workflowon: pushjobs:
obfuscate:
runs-on: ubuntu-lateststeps:
- name: Checkoutuses: actions/checkout@master
- name: Obfuscate with PSUuses: psuDevelopment/Obfuscate-With-PSU@mainid: obfuscatewith:
path: ./Script.luaapiKey: ${{ secrets.PSU_API_KEY }}
- name: Echo obfuscated filerun: echo ${{ steps.obfuscate.outputs.file }}This project is licensed under the MIT license, feel free to modify as you wish. :)