Skip to content

Commit

Permalink
Update zodgame.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
y-tai authored Dec 9, 2024
1 parent 565fea2 commit ab2b2ac
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/zodgame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Create non-root user
run: |
net user tempuser MyPassword123! /add
net localgroup Users tempuser /add
- name: Install requirements
run: |
runas /user:myuser "pip3 install -r ./zodgame/requirements.txt"
runas /user:tempuser "pip3 install -r ./zodgame/requirements.txt"
- name: Run
run: |
runas /user:myuser "python3 ./zodgame/zodgame.py '${{secrets.ZODGAME_COOKIE}}'"
runas /user:tempuser "python3 ./zodgame/zodgame.py '${{secrets.ZODGAME_COOKIE}}'"
- uses: gautamkrishnar/keepalive-workflow@master

0 comments on commit ab2b2ac

Please sign in to comment.