Workflow: Improve job naming and artifact separation
This commit is contained in:
@@ -9,6 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
name: Build Linux Binary
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -27,13 +28,14 @@ jobs:
|
||||
run: |
|
||||
pyinstaller --onefile --name tamigo-cli tamigo.py
|
||||
|
||||
- name: Upload artifact
|
||||
- name: Upload Linux Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: tamigo-cli-linux
|
||||
name: binary-linux
|
||||
path: dist/tamigo-cli
|
||||
|
||||
build-windows:
|
||||
name: Build Windows Binary
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -45,8 +47,8 @@ jobs:
|
||||
cdrx/pyinstaller-windows \
|
||||
sh -c "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py"
|
||||
|
||||
- name: Upload artifact
|
||||
- name: Upload Windows Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: tamigo-cli-windows
|
||||
name: binary-windows
|
||||
path: dist/tamigo-cli.exe
|
||||
|
||||
@@ -5,7 +5,8 @@ on:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
release-linux:
|
||||
name: Build & Release Linux
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -28,7 +29,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
build-windows:
|
||||
release-windows:
|
||||
name: Build & Release Windows
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user