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

0 comments on commit cba505c

Please sign in to comment.