File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -31,26 +31,33 @@ jobs:
3131 - name : Package Application
3232 run : |
3333 cd src
34- pyinstaller --onefile --name docker-dev-lamp docker-dev-lamp-env.py
34+ pyinstaller --onefile --name docker-dev-lamp-${{ runner.os }} docker-dev-lamp-env.py
3535 - uses : actions/upload-artifact@v2
3636 with :
3737 name : docker-dev-lamp-${{ runner.os }}
3838 path : src/dist/*
39+
40+ create_release :
41+ needs : build
42+ runs-on : ubuntu-latest
43+ steps :
44+ - uses : actions/checkout@v3
3945 - name : Create Tag
40- if : matrix.os == 'ubuntu-latest'
4146 id : create_tag
4247 run : |
43- $ VERSION = Get-Date -Format "yyyyMMddHHmmss"
44- echo "VERSION=$VERSION" >> $env: GITHUB_ENV
48+ VERSION=$(date +"%Y%m%d%H%M%S")
49+ echo "VERSION=$VERSION" >> $GITHUB_ENV
4550 git tag $VERSION
4651 git push origin $VERSION
47- shell : pwsh
52+ - name : Download all artifacts
53+ uses : actions/download-artifact@v2
54+ with :
55+ path : artifacts
4856 - name : Create GitHub Release
49- if : matrix.os == 'ubuntu-latest'
5057 uses : softprops/action-gh-release@v1
5158 with :
5259 files : |
53- src/dist /*
60+ artifacts/** /*
5461 tag_name : ${{ env.VERSION }}
5562 name : Release ${{ env.VERSION }}
5663 env :
You can’t perform that action at this time.
0 commit comments