Skip to content

zodgame

zodgame #1247

Workflow file for this run

name: zodgame
on:
schedule:
- cron: "0 0 * * *"
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Create a new user
run: |
net user nonAdminUser password /add
net localgroup "Users" nonAdminUser /add
shell: cmd
- name: Install requirements
run: |
runas /user:nonAdminUser "pip3 install -r ./zodgame/requirements.txt"
shell: cmd
- name: Run
run: |
runas /user:nonAdminUser "python3 ./zodgame/zodgame.py ${{secrets.ZODGAME_COOKIE}}"
shell: cmd
- uses: gautamkrishnar/keepalive-workflow@master