File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99permissions :
10- contents : read
10+ contents : write
1111
1212jobs :
1313 build :
2626 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2727 - name : Lint with flake8
2828 run : |
29- # stop the build if there are Python syntax errors or undefined names
3029 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
31- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3230 flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3331 - name : Package Application Linux
3432 uses : JackMcKew/pyinstaller-action-linux@main
@@ -50,11 +48,21 @@ jobs:
5048 name : docker-dev-lamp-windows
5149 path : src/dist/windows
5250
51+ - name : Create Tag
52+ id : create_tag
53+ run : |
54+ VERSION=$(date +"%Y%m%d%H%M%S")
55+ echo "VERSION=$VERSION" >> $GITHUB_ENV
56+ git tag $VERSION
57+ git push origin $VERSION
58+
5359 - name : Create GitHub Release
5460 uses : softprops/action-gh-release@v1
5561 with :
5662 files : |
5763 src/dist/linux/**/*
5864 src/dist/windows/**/*
65+ tag_name : ${{ env.VERSION }}
66+ name : Release ${{ env.VERSION }}
5967 env :
6068 GITHUB_TOKEN : ${{ secrets.ACTIONS_SECRET_TOKEN }}
You can’t perform that action at this time.
0 commit comments