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 Oct 13, 2024
1 parent 9682b6a commit f8f4ad7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/zodgame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ jobs:
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: |
pip3 install -r ./zodgame/requirements.txt
- name: Run
runas /user:nonAdminUser "pip3 install -r ./zodgame/requirements.txt"
shell: cmd
- name: Run
run: |
python3 ./zodgame/zodgame.py "${{secrets.ZODGAME_COOKIE}}"
runas /user:nonAdminUser "python3 ./zodgame/zodgame.py ${{secrets.ZODGAME_COOKIE}}"
shell: cmd
- uses: gautamkrishnar/keepalive-workflow@master

0 comments on commit f8f4ad7

Please sign in to comment.