Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit ad22386

Browse files
committed
add ubuntu 24
1 parent 4772754 commit ad22386

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,48 @@ jobs:
8989
name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }}
9090
allowUpdates: true
9191
body: ${{ steps.extract-release-notes.outputs.release_notes }}
92+
release-ubuntu-24:
93+
runs-on: ubuntu-24.04
94+
permissions:
95+
contents: write
96+
steps:
97+
- uses: actions/checkout@v3
98+
with:
99+
fetch-depth: 0 # https://github.com/marketplace/actions/get-latest-tag
100+
- uses: subosito/flutter-action@v2 # https://github.com/marketplace/actions/flutter-action
101+
with:
102+
channel: 'stable' # or: 'beta', 'dev' or 'master'
103+
- name: Install dependencies
104+
run: flutter pub get
105+
- name: Install build dependencies
106+
run: sudo apt install -y ninja-build libgtk-3-dev
107+
- run: flutter doctor
108+
- name: Get tag for release
109+
id: currentTag
110+
uses: WyriHaximus/github-action-get-previous-tag@v1 # https://github.com/marketplace/actions/get-latest-tag
111+
- name: Build release linux
112+
run: flutter build linux --release
113+
- name: Copy script files
114+
run: |
115+
cp -R script build/linux/x64/release/bundle/script
116+
- name: Copy ldd files
117+
run: |
118+
ldd build/linux/x64/release/bundle/DeepFaceLabClient
119+
mv build/linux/x64/release/bundle DeepFaceLabClient-linux
120+
bash requirements/linux/import_lib.sh
121+
- name: Zip release linux
122+
run: |
123+
zip -r DeepFaceLabClient-ubuntu-24-${{ steps.currentTag.outputs.tag }}.zip DeepFaceLabClient-linux
124+
- name: Extract release notes # https://github.com/marketplace/actions/extract-release-notes
125+
id: extract-release-notes
126+
uses: ffurrer2/extract-release-notes@v1
127+
- uses: ncipollo/release-action@v1 # https://github.com/marketplace/actions/create-release
128+
with:
129+
artifacts: DeepFaceLabClient-ubuntu-24-${{ steps.currentTag.outputs.tag }}.zip
130+
tag: ${{ steps.currentTag.outputs.tag }}
131+
name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }}
132+
allowUpdates: true
133+
body: ${{ steps.extract-release-notes.outputs.release_notes }}
92134
release-windows:
93135
runs-on: windows-latest
94136
permissions:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010

1111
### Removed
1212

13+
## [0.4.0] - 2023-09-16
14+
15+
### Added
16+
17+
- Add release for ubuntu 24.
18+
19+
1320
## [0.4.0] - 2023-09-16
1421

1522
### Changed

0 commit comments

Comments
 (0)