Skip to content

Commit 778f8ed

Browse files
author
owlyyy
committed
fix(ci): repair release generation workflows and action versions
1 parent e4bd2f3 commit 778f8ed

4 files changed

Lines changed: 22 additions & 72 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
body: |
4848
Continuous automated release built from the latest codebase commits on `main`.
4949
50-
### Installation
50+
### Quick Installation
5151
```bash
5252
pip install git+https://github.com/areqpl/Owlbearag.git
5353
```

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
python -m build
4141
4242
- name: Upload Build Artifacts
43-
uses: actions/upload-artifact@v7
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: dist-python-${{ matrix.python-version }}
4646
path: dist/

.github/workflows/release.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/tag-release.yml

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
# .github/workflows/tag-release.yml
21
name: Tag Release Build
32

43
on:
54
push:
65
tags:
7-
- 'v*' # tags like v1.0.0
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
810

911
jobs:
1012
build:
13+
name: Build Multi-Platform Artifacts (${{ matrix.os }})
1114
runs-on: ${{ matrix.os }}
1215
strategy:
1316
matrix:
@@ -22,59 +25,46 @@ jobs:
2225
- name: Set up Python
2326
uses: actions/setup-python@v5
2427
with:
25-
python-version: "3.13"
28+
python-version: "3.11"
2629

2730
- name: Install build dependencies
2831
run: |
29-
python -m pip install --upgrade pip setuptools wheel build
30-
pip install pyinstaller
31-
# Install GUI-specific dependencies
32-
pip install pyqt6 httpx
32+
python -m pip install --upgrade pip setuptools wheel build pyinstaller
3333
34-
- name: Build wheel (Linux) or exe (Windows)
34+
- name: Build Python Package (Wheel & sdist)
3535
if: matrix.os == 'ubuntu-latest'
3636
run: |
3737
python -m build
3838
39-
- name: Build Windows executable
39+
- name: Build Windows Executables
4040
if: matrix.os == 'windows-latest'
4141
run: |
4242
pyinstaller --onefile owlbearag/cli.py --name owlbearag.exe
43+
pyinstaller --onefile llama_node/gui_client.py --name owlbearag_gui.exe
4344
44-
- name: Build Linux GUI executable
45-
if: matrix.os == 'ubuntu-latest'
46-
run: |
47-
pyinstaller --onefile llama_node/gui_client.py --name owlbearag_gui
48-
49-
- name: Build Windows GUI executable
50-
if: matrix.os == 'windows-latest'
51-
run: |
52-
pyinstaller --onefile llama_node/gui_client.py --name owlbearag_gui.exe
45+
- name: Build Linux Executable
46+
if: matrix.os == 'ubuntu-latest'
47+
run: |
48+
pyinstaller --onefile llama_node/gui_client.py --name owlbearag_gui
5349
54-
- name: Upload artifacts for release
55-
uses: actions/upload-artifact@v4
56-
with:
57-
name: ${{ matrix.os }}-artifacts
58-
path: |
59-
dist/*.whl
60-
dist/*.tar.gz
61-
dist/owlbearag.exe
62-
dist/owlbearag_gui
63-
dist/owlbearag_gui.exe
50+
- name: Upload Artifacts
6451
uses: actions/upload-artifact@v4
6552
with:
6653
name: ${{ matrix.os }}-artifacts
6754
path: |
6855
dist/*.whl
6956
dist/*.tar.gz
7057
dist/owlbearag.exe
58+
dist/owlbearag_gui
59+
dist/owlbearag_gui.exe
7160
7261
publish-release:
62+
name: Publish GitHub Release
7363
needs: build
7464
runs-on: ubuntu-latest
7565
steps:
7666
- name: Download all artifacts
77-
uses: actions/download-artifact@v8
67+
uses: actions/download-artifact@v4
7868
with:
7969
path: ./artifacts
8070

@@ -86,5 +76,6 @@ jobs:
8676
draft: false
8777
prerelease: false
8878
files: ./artifacts/**
79+
generate_release_notes: true
8980
env:
9081
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)