Skip to content

Commit

Permalink
v2.92 reopen
Browse files Browse the repository at this point in the history
  • Loading branch information
xinxin8816 committed Jul 13, 2022
1 parent 16b262e commit 255512b
Show file tree
Hide file tree
Showing 3 changed files with 857 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Build-Inputer

on:
push:
paths:
- '**.py'
- '**.yml'
pull_request:
paths:
- '**.py'
- '**.yml'

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- name: Set Up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Build For Windows
if: matrix.os == 'windows-latest'
run: |
curl -O https://eternallybored.org/misc/wget/1.20.3/64/wget.exe #curl直接Py源码会失败
./wget.exe 'https://raw.githubusercontent.com/xinxin8816/gfriends/master/Gfriends Inputer.py'
python -m pip install --upgrade pip
pip install alive-progress==1.5.1
pip install requests
pip install requests[socks]
pip install -U --force-reinstall gevent
pip install baidu-aip==2.2.18.0
pip install Pillow==7.1.1
pip install pyinstaller
pyinstaller -F 'Gfriends Inputer.py'
- name: Build For Mac/Linux
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: |
wget 'https://raw.githubusercontent.com/xinxin8816/gfriends/master/Gfriends Inputer.py'
python -m pip install --upgrade pip
pip install alive-progress==1.5.1
pip install requests
pip install requests[socks]
pip install -U --force-reinstall gevent
pip install baidu-aip==2.2.18.0
pip install Pillow==7.1.1
pip install pyinstaller
pyinstaller -F 'Gfriends Inputer.py'
- name: Upload Build Artifact
uses: actions/upload-artifact@v1
with:
name: Gfriends-Inputer-${{ matrix.os }}
path: dist
Loading

0 comments on commit 255512b

Please sign in to comment.