update dependencies move to apt-get

This commit is contained in:
neil 2023-01-06 09:46:26 +08:00
parent 84698c3669
commit f903885cc9
2 changed files with 6 additions and 9 deletions

View file

@ -147,7 +147,7 @@ jobs:
- name: build tauri for MacOS - name: build tauri for MacOS
uses: teaxyz/setup@v0 uses: teaxyz/setup@v0
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64' if: startsWith(matrix.platform.name, 'darwin')
# FROM: https://tauri.app/v1/guides/distribution/sign-macos # FROM: https://tauri.app/v1/guides/distribution/sign-macos
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -164,11 +164,11 @@ jobs:
- name: build tauri for Linux - name: build tauri for Linux
# uses: teaxyz/setup@v0 # uses: teaxyz/setup@v0
if: matrix.platform.name == 'linux+x86-64' || matrix.platform.name == 'linux+aarch64' if: startsWith(matrix.platform.name, 'linux')
# TODO: https://tauri.app/v1/guides/distribution/sign-linux # TODO: https://tauri.app/v1/guides/distribution/sign-linux
run: | run: |
sh <(curl https://tea.xyz) . sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config
sh <(curl https://tea.xyz) -x build sh <(curl https://tea.xyz) build
- name: build platform output - name: build platform output
id: build_platform id: build_platform
@ -212,7 +212,7 @@ jobs:
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/macos/tea.zip "s3://preview.gui.tea.xyz/$prefix/tea_$platform.zip" aws s3 cp ./modules/gui/src-tauri/target/release/bundle/macos/tea.zip "s3://preview.gui.tea.xyz/$prefix/tea_$platform.zip"
- name: comment install for Linux - name: comment install for Linux
if: matrix.platform.name == 'linux+x86-64' if: startsWith(matrix.platform.name, 'linux')
uses: mshick/add-pr-comment@v2 uses: mshick/add-pr-comment@v2
with: with:
message-id: ${{ matrix.platform.id }}-comment message-id: ${{ matrix.platform.id }}-comment
@ -226,7 +226,7 @@ jobs:
copy-paste into a browser to download copy-paste into a browser to download
- name: comment install for MacOS - name: comment install for MacOS
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64' if: startsWith(matrix.platform.name, 'darwin')
uses: mshick/add-pr-comment@v2 uses: mshick/add-pr-comment@v2
with: with:
message-id: ${{ matrix.platform.id }}-comment message-id: ${{ matrix.platform.id }}-comment

View file

@ -13,9 +13,6 @@ For better documentation checkout this [notion](https://www.notion.so/teaxyz/tea
| nodejs.org | >=16 | | nodejs.org | >=16 |
| pnpm.io | >=7.18.2 | | pnpm.io | >=7.18.2 |
| rust-lang.org | >=1.62 | | rust-lang.org | >=1.62 |
| nixos.org/patchelf | >=0.17 |
| freedesktop.org/pkg-config | >=0.29 |
| gnome.org/librsvg | >=2.55 |
# Getting Started # Getting Started
```sh ```sh