Skip to content

Commit 5bb32da

Browse files
authored
Merge pull request #87 from AlistGo/okatu-loli-patch-2
Enhance release_beta workflow with additional build step
2 parents 2213cc8 + ac0dc28 commit 5bb32da

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/release_beta.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ jobs:
6262
run: |
6363
sudo apt-get update
6464
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
65-
# sudo apt-get install -y libssl-dev pkg-config gcc-10-aarch64-linux-gnu
6665
6766
- name: Rust setup
6867
uses: dtolnay/rust-toolchain@stable
@@ -110,7 +109,8 @@ jobs:
110109
ALIST_VERSION: beta
111110
RCLONE_VERSION: ${{ steps.get-rclone-version.outputs.tag_name }}
112111

113-
- name: Build the app
112+
- name: Build & publish (coordinator uploads latest.json)
113+
if: matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin'
114114
uses: tauri-apps/tauri-action@v0
115115
env:
116116
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
@@ -122,6 +122,18 @@ jobs:
122122
prerelease: true
123123
tagName: beta
124124

125+
- name: Build & publish (no updater json)
126+
if: ${{ !(matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin') }}
127+
uses: tauri-apps/tauri-action@v0
128+
env:
129+
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
130+
with:
131+
releaseName: "AList Desktop v__VERSION__"
132+
releaseBody: "See the assets to download and install this version."
133+
args: "--target ${{ matrix.target }} ${{ matrix.args }}"
134+
prerelease: true
135+
tagName: beta
136+
125137
build_updater:
126138
name: "Build updater beta"
127139
needs: release_beta

0 commit comments

Comments
 (0)