File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1- name : Create Windows Executable using Conda
1+ name : Create Windows Executable using Miniconda
22
33on :
44 push :
2727 - shell : bash -l {0}
2828 run : |
2929 conda info
30- conda list
3130 conda env export
31+ - name : Get Version
32+ id : get_version
33+ uses : battila7/get-version-action@v2
3234 - name : Build
3335 shell : bash -l {0}
3436 run : |
@@ -37,15 +39,15 @@ jobs:
3739 with :
3840 files : dist/funscript-editor
3941 recursive : true
40- dest : funscript-editor .zip
42+ dest : funscript-editor_${{ steps.get_version.outputs.version }} .zip
4143 - name : Create Release
4244 id : create_release
4345 uses : actions/create-release@v1
4446 env :
4547 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4648 with :
47- tag_name : ${{ github.ref }}
48- release_name : ${{ github.sha }}
49+ tag_name : ${{ steps.get_version.outputs.version }}
50+ release_name : Python funscript Editor ${{ steps.get_version.outputs.version }}
4951 draft : true
5052 prerelease : true
5153 - name : Upload Release Asset
5557 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5658 with :
5759 upload_url : ${{ steps.create_release.outputs.upload_url }}
58- asset_path : ./funscript-editor .zip
59- asset_name : funscript-editor .zip
60+ asset_path : ./funscript-editor_${{ steps.get_version.outputs.version }} .zip
61+ asset_name : funscript-editor_${{ steps.get_version.outputs.version }} .zip
6062 asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments