genshin.yml 485 B

1234567891011121314151617181920212223242526
  1. name: "Genshin Impact Helper"
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. - cron: "0 22 * * *"
  6. jobs:
  7. build:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Set up python
  12. uses: actions/setup-python@v4
  13. with:
  14. python-version: 3.8
  15. - name: Run sign
  16. run: |
  17. pip install -r requirements.txt
  18. echo "${{ secrets.COOKIE }}" | tr '#' "\n" | xargs -I {} sh -c 'echo "{}" | python3 ./genshin.py'