Skip to content

Daily Test (@v1)

Daily Test (@v1) #289

Workflow file for this run

name: Daily Test (@v1)
on:
schedule:
- cron: '0 13 * * *'
workflow_dispatch:
concurrency: lol
jobs:
install:
name: Test the action
runs-on: windows-latest
steps:
- name: Setup the League Client
id: league-client
uses: mikaeldui/setup-league-client@v1
with:
username: ${{ secrets.LOL_USERNAME }}
password: ${{ secrets.LOL_PASSWORD }}
region: ${{ secrets.LOL_REGION }}
- name: Test outputs
uses: actions/github-script@v6
with:
script: |
"${{ steps.league-client.outputs.lcu-password }}".length === 0 && core.setFailed("No LCU Password Output");
"${{ steps.league-client.outputs.lcu-port }}".length === 0 && core.setFailed("No LCU Port Output");
"${{ steps.league-client.outputs.lcu-directory }}".length === 0 && core.setFailed("No LCU Directory Output");