Update main.yml
This commit is contained in:
parent
58d0a5a2a9
commit
138418dd8a
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -20,6 +20,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
|
|
||||||
|
- name: Merge From y1ndan/genshin-impact-helper
|
||||||
|
if: ${{ env.ALLOW_MERGE != 'false' }}
|
||||||
|
run: |
|
||||||
|
git config --global user.name github-actions
|
||||||
|
git config --global user.email github-actions@github.com
|
||||||
|
git remote add upstream https://github.com/y1ndan/genshin-impact-helper
|
||||||
|
git pull upstream master --allow-unrelated-histories
|
||||||
|
git push origin master
|
||||||
|
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
@ -29,11 +38,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
echo "${{ secrets.COOKIE }}" | tr '#' "\n" | sed 's/$/&#${{ secrets.SCKEY }}/g' | xargs -I {} sh -c 'echo "{}" | python3 ./genshin.py'
|
echo "${{ secrets.COOKIE }}" | tr '#' "\n" | sed 's/$/&#${{ secrets.SCKEY }}/g' | xargs -I {} sh -c 'echo "{}" | python3 ./genshin.py'
|
||||||
- name: Merge From y1ndan/genshin-impact-helper
|
|
||||||
if: ${{ env.ALLOW_MERGE != 'false' }}
|
|
||||||
run: |
|
|
||||||
git config --global user.name github-actions
|
|
||||||
git config --global user.email github-actions@github.com
|
|
||||||
git remote add upstream https://github.com/y1ndan/genshin-impact-helper
|
|
||||||
git pull upstream master --allow-unrelated-histories
|
|
||||||
git push origin master
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user