Skip to content

Commit d9b1344

Browse files
Update release.yml
1 parent b2d3425 commit d9b1344

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Build and Release BulkFolder
2-
2+
33
on:
44
push:
55
branches:
6-
- main
6+
- main
77

88
permissions:
99
contents: write
@@ -62,21 +62,18 @@ jobs:
6262
run: |
6363
echo "import sys, os; sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')); from bulkfolder.ui.main import main; main()" > run.py
6464
python -m PyInstaller --noconfirm --windowed --name "BulkFolder" --icon="src/assets/logo.ico" --add-data="src/assets;assets" --paths="src" --version-file="version_info.txt" --collect-all customtkinter run.py
65+
6566
- name: Compile Inno Setup
6667
shell: pwsh
6768
run: |
6869
$ver = "${{ steps.get_version.outputs.VERSION }}"
6970
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /DMyAppVersion=$ver "installer_script.iss"
70-
71-
deploy:
72-
needs: sonar-scan
73-
runs-on: windows-latest
74-
steps:
75-
- name: Create Release
76-
uses: softprops/action-gh-release@v2
77-
with:
78-
tag_name: v${{ steps.get_version.outputs.VERSION }}
79-
name: Release v${{ steps.get_version.outputs.VERSION }}
80-
files: Output/*.exe
81-
env:
82-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
72+
- name: Create Release
73+
uses: softprops/action-gh-release@v2
74+
with:
75+
tag_name: v${{ steps.get_version.outputs.VERSION }}
76+
name: Release v${{ steps.get_version.outputs.VERSION }}
77+
files: Output/*.exe
78+
env:
79+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)