|
89 | 89 | name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }}
|
90 | 90 | allowUpdates: true
|
91 | 91 | 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 }} |
92 | 134 | release-windows:
|
93 | 135 | runs-on: windows-latest
|
94 | 136 | permissions:
|
|
0 commit comments