Skip to content

Commit

Permalink
Update zodgame.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuZ-Chn authored Dec 9, 2024
1 parent 5b2d0cb commit fa8c55a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/zodgame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Create non-root user
run: |
net user myuser MyPassword123! /add
net localgroup Users myuser /add
- name: Install requirements
run: |
pip3 install -r ./zodgame/requirements.txt
runas /user:myuser "pip3 install -r ./zodgame/requirements.txt"
- name: Run
run: |
python3 ./zodgame/zodgame.py "${{secrets.ZODGAME_COOKIE}}"
runas /user:myuser "python3 ./zodgame/zodgame.py '${{secrets.ZODGAME_COOKIE}}'"
- uses: gautamkrishnar/keepalive-workflow@master

0 comments on commit fa8c55a

Please sign in to comment.