An action for setting up the League of Legends client (a.k.a. League Client/LCU). Good for testing League Client integrations.
The action requires a Windows runner.
The setup takes around 5-10 minutes.
- name: Setup League Client
id: league-client
uses: magisteriis/setup-league-client@ea5ea0748d459cb8e4bade9d50d2f81b70f009f7
with:
username: ${{ secrets.LOL_USERNAME }}
password: ${{ secrets.LOL_PASSWORD }}
region: EUW
- name: Test LCU Integration
run: .\tests.ps1
shell: pwsh
env:
LCU_PASSWORD: ${{ steps.league-client.outputs.lcu-password }}
LCU_PORT: ${{ steps.league-client.outputs.lcu-port }}
LCU_DIR: ${{ steps.league-client.outputs.lcu-directory }}
It's the most secure and stable way to reference an action as tags can be moved. This specific commit also has daily tests as you can see in the top. If you prefer you can reference the action with @v1
to use any fixes automatically.
The region is being output in the action logs. I haven't found a good way to mask it since it's also being output in base64. The locale (e.g. en_US) is also being output.
It's the password used when establishing either an HTTPS or a WSS connection to the LCU. It changes everytime the League Client is restarted. Since the League Client can only be accessed from the local machine (or runner) under normal circumstances it's safe to display and good for debugging purposes.
Thanks to @MingweiSamuel for his lcu-schema/update.ps1 (licensed under the MIT license).
The GitHub Action "Setup League Client" by @magisteriis isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.