diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e8f010..4738dfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,6 +89,48 @@ jobs: name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }} allowUpdates: true body: ${{ steps.extract-release-notes.outputs.release_notes }} + release-ubuntu-24: + runs-on: ubuntu-24.04 + permissions: + contents: write + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # https://github.com/marketplace/actions/get-latest-tag + - uses: subosito/flutter-action@v2 # https://github.com/marketplace/actions/flutter-action + with: + channel: 'stable' # or: 'beta', 'dev' or 'master' + - name: Install dependencies + run: flutter pub get + - name: Install build dependencies + run: sudo apt install -y ninja-build libgtk-3-dev + - run: flutter doctor + - name: Get tag for release + id: currentTag + uses: WyriHaximus/github-action-get-previous-tag@v1 # https://github.com/marketplace/actions/get-latest-tag + - name: Build release linux + run: flutter build linux --release + - name: Copy script files + run: | + cp -R script build/linux/x64/release/bundle/script + - name: Copy ldd files + run: | + ldd build/linux/x64/release/bundle/DeepFaceLabClient + mv build/linux/x64/release/bundle DeepFaceLabClient-linux + bash requirements/linux/import_lib.sh + - name: Zip release linux + run: | + zip -r DeepFaceLabClient-ubuntu-24-${{ steps.currentTag.outputs.tag }}.zip DeepFaceLabClient-linux + - name: Extract release notes # https://github.com/marketplace/actions/extract-release-notes + id: extract-release-notes + uses: ffurrer2/extract-release-notes@v1 + - uses: ncipollo/release-action@v1 # https://github.com/marketplace/actions/create-release + with: + artifacts: DeepFaceLabClient-ubuntu-24-${{ steps.currentTag.outputs.tag }}.zip + tag: ${{ steps.currentTag.outputs.tag }} + name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }} + allowUpdates: true + body: ${{ steps.extract-release-notes.outputs.release_notes }} release-windows: runs-on: windows-latest permissions: diff --git a/CHANGELOG.md b/CHANGELOG.md index b1ecb2e..8d6fddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,13 @@ ### Removed +## [0.4.0] - 2023-09-16 + +### Added + +- Add release for ubuntu 24. + + ## [0.4.0] - 2023-09-16 ### Changed