Workflow: Fix release attachments and distinct artifact naming
All checks were successful
Build Tamigo CLI / build-linux (push) Successful in 51s
Build Tamigo CLI / build-windows (push) Successful in 4s

This commit is contained in:
Daniel Dybing
2026-03-11 12:34:29 +01:00
parent 26724cd868
commit cec04a1cda

View File

@@ -19,11 +19,14 @@ jobs:
- name: Build - name: Build
run: | run: |
pyinstaller --onefile --name tamigo-cli tamigo.py pyinstaller --onefile --name tamigo-cli tamigo.py
- name: Upload artifact - name: Rename for release
uses: actions/upload-artifact@v3 run: mv dist/tamigo-cli dist/tamigo-cli-linux
- name: Upload to Release
uses: softprops/action-gh-release@v2
with: with:
name: tamigo-cli-linux files: dist/tamigo-cli-linux
path: dist/tamigo-cli env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-windows: build-windows:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -35,8 +38,11 @@ jobs:
-v "${{ github.workspace }}:/src" \ -v "${{ github.workspace }}:/src" \
cdrx/pyinstaller-windows \ cdrx/pyinstaller-windows \
sh -c "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py" sh -c "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py"
- name: Upload artifact - name: Rename for release
uses: actions/upload-artifact@v3 run: mv dist/tamigo-cli.exe dist/tamigo-cli-windows.exe
- name: Upload to Release
uses: softprops/action-gh-release@v2
with: with:
name: tamigo-cli-windows files: dist/tamigo-cli-windows.exe
path: dist/tamigo-cli.exe env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}