|
30 | 30 | fail-fast:false |
31 | 31 | matrix: |
32 | 32 | mysql-version:[8.0] |
33 | | -python-version:[3.9] |
| 33 | +python-version:[3.8] |
34 | 34 |
|
35 | 35 | steps: |
36 | 36 | -name:Checkout repository |
|
43 | 43 | Set-TimeZone -Name "China Standard Time" |
44 | 44 | $timelocal="Auto Update $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')" |
45 | 45 | $tagname="v$(Get-Date -Format 'yyyy.MM.dd')" |
46 | | - echo ::set-output name=TIMELOCAL::${timelocal} |
| 46 | + echo ::set-output name=TIMELOCAL::"${timelocal}" |
47 | 47 | echo ::set-output name=TAGNAME::${tagname} |
48 | 48 |
|
49 | 49 | -name:Initialize mysql |
|
64 | 64 |
|
65 | 65 | -name:Update ipdata |
66 | 66 | run:| |
67 | | - echo ${steps.get_tag.outputs.TIMELOCAL} |
| 67 | + echo"${steps.get_tag.outputs.TIMELOCAL}" |
68 | 68 | pipenv install --dev |
69 | 69 | pipenv run python ./IP_Sync/ip_Sync.py |
70 | 70 |
|
|
73 | 73 | git config --global user.email ${{ secrets.USER_EMAIL }} |
74 | 74 | git config --global user.name ${{ secrets.USER_NAME }} |
75 | 75 | git add . |
76 | | - git commit -m ${steps.get_tag.outputs.TIMELOCAL} |
| 76 | + git commit -m"${steps.get_tag.outputs.TIMELOCAL}" |
77 | 77 | git pull origin main |
78 | 78 | git tag -a ${steps.get_tag.outputs.TAGNAME} -m "${steps.get_tag.outputs.TIMELOCAL}" |
79 | 79 |
|
|
85 | 85 | tags:true |
86 | 86 |
|
87 | 87 | -name:Build |
88 | | -run:echo ${steps.get_tag.outputs.TIMELOCAL} > Release.txt |
| 88 | +run:echo"${steps.get_tag.outputs.TIMELOCAL}" > Release.txt |
89 | 89 |
|
90 | 90 | -name:Test |
91 | 91 | run:cat Release.txt |
|