ci: rename release artifacts with platform suffixes

- Windows: EU-Icon-Extractor-Windows.exe
- Linux: EU-Icon-Extractor-Linux

Clear naming for users to identify their platform
This commit is contained in:
LemonNexus 2026-02-12 16:53:13 +00:00
parent b50a323e3e
commit a0f330b3c7
1 changed files with 6 additions and 4 deletions

View File

@ -34,18 +34,19 @@ jobs:
- name: Build executable - name: Build executable
run: | run: |
pyinstaller icon_extractor.spec --clean pyinstaller icon_extractor.spec --clean
mv dist/EU-Icon-Extractor.exe dist/EU-Icon-Extractor-Windows.exe
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: EU-Icon-Extractor-Windows name: EU-Icon-Extractor-Windows
path: dist/EU-Icon-Extractor.exe path: dist/EU-Icon-Extractor-Windows.exe
- name: Create Release - name: Create Release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: dist/EU-Icon-Extractor.exe files: dist/EU-Icon-Extractor-Windows.exe
draft: false draft: false
prerelease: false prerelease: false
env: env:
@ -76,18 +77,19 @@ jobs:
- name: Build executable - name: Build executable
run: | run: |
pyinstaller icon_extractor.spec --clean pyinstaller icon_extractor.spec --clean
mv dist/EU-Icon-Extractor dist/EU-Icon-Extractor-Linux
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: EU-Icon-Extractor-Linux name: EU-Icon-Extractor-Linux
path: dist/EU-Icon-Extractor path: dist/EU-Icon-Extractor-Linux
- name: Create Release - name: Create Release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: dist/EU-Icon-Extractor files: dist/EU-Icon-Extractor-Linux
draft: false draft: false
prerelease: false prerelease: false
env: env: