File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 run : |
2323 python -m pip install --upgrade pip
2424 pip install flake8 pytest pyinstaller
25- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+ if (Test-Path requirements.txt) { pip install -r requirements.txt }
26+ shell : pwsh
2627 - name : Lint with flake8
2728 run : |
2829 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -39,10 +40,11 @@ jobs:
3940 if : matrix.os == 'ubuntu-latest'
4041 id : create_tag
4142 run : |
42- VERSION=$(date +"%Y%m%d%H%M%S")
43- echo "VERSION=$VERSION" >> $GITHUB_ENV
43+ $ VERSION = Get-Date -Format "yyyyMMddHHmmss"
44+ echo "VERSION=$VERSION" >> $env: GITHUB_ENV
4445 git tag $VERSION
4546 git push origin $VERSION
47+ shell : pwsh
4648 - name : Create GitHub Release
4749 if : matrix.os == 'ubuntu-latest'
4850 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments