#92 change /packages/ to /modules/
2
.github/update-latest-binary.sh
vendored
|
@ -28,7 +28,7 @@ else
|
|||
pnpm build:gui -b dmg
|
||||
|
||||
echo "uploading to s3"
|
||||
build_path="$PWD/packages/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_aarch64.dmg"
|
||||
build_path="$PWD/modules/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_aarch64.dmg"
|
||||
tag_path="s3://preview.gui.tea.xyz/release/tea_gui_$tag.$ARM_CPU.dmg"
|
||||
latest_path="s3://preview.gui.tea.xyz/release/tea_gui_latest.$ARM_CPU.dmg"
|
||||
aws s3 cp $build_path $tag_path
|
||||
|
|
18
.github/workflows/ci.yml
vendored
|
@ -16,16 +16,16 @@ jobs:
|
|||
with:
|
||||
filters: |
|
||||
src:
|
||||
- 'packages/gui/src/**'
|
||||
- 'packages/ui/**'
|
||||
- 'modules/gui/src/**'
|
||||
- 'modules/ui/**'
|
||||
- uses: dorny/paths-filter@v2
|
||||
id: tauri
|
||||
with:
|
||||
filters: |
|
||||
src:
|
||||
- 'packages/gui/src-tauri/**'
|
||||
- 'packages/gui/src/**'
|
||||
- 'packages/ui/src/**'
|
||||
- 'modules/gui/src-tauri/**'
|
||||
- 'modules/gui/src/**'
|
||||
- 'modules/ui/src/**'
|
||||
- name: get s3 preview folder
|
||||
id: preview
|
||||
run: echo "folder=${{ github.event.number }}-merge" >> $GITHUB_OUTPUT
|
||||
|
@ -94,7 +94,7 @@ jobs:
|
|||
env:
|
||||
prefix: ${{ needs.changes.outputs.preview_folder }}
|
||||
run: |
|
||||
aws s3 sync ./packages/gui/build \
|
||||
aws s3 sync ./modules/gui/build \
|
||||
"s3://preview.gui.tea.xyz/$prefix"
|
||||
- name: Install package
|
||||
run: sudo apt-get install -y jq coreutils
|
||||
|
@ -157,7 +157,7 @@ jobs:
|
|||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
./packages/gui/src-tauri/target
|
||||
./modules/gui/src-tauri/target
|
||||
key: ${{ matrix.platform }}-build-target
|
||||
restore-keys: |
|
||||
${{ matrix.platform }}-build-target
|
||||
|
@ -176,7 +176,7 @@ jobs:
|
|||
env:
|
||||
prefix: ${{ needs.changes.outputs.preview_folder }}
|
||||
run: |
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
"s3://preview.gui.tea.xyz/$prefix/gui.dmg"
|
||||
|
||||
- name: ubuntu cp package images from prod to preview bucket
|
||||
|
@ -184,7 +184,7 @@ jobs:
|
|||
env:
|
||||
prefix: ${{ needs.changes.outputs.preview_folder }}
|
||||
run: |
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
"s3://preview.gui.tea.xyz/$prefix/gui.deb"
|
||||
|
||||
- name: comment install ubuntu
|
||||
|
|
12
.github/workflows/main.yml
vendored
|
@ -19,14 +19,14 @@ jobs:
|
|||
with:
|
||||
filters: |
|
||||
src:
|
||||
- 'packages/gui/src/**'
|
||||
- 'packages/ui/**'
|
||||
- 'modules/gui/src/**'
|
||||
- 'modules/ui/**'
|
||||
- uses: dorny/paths-filter@v2
|
||||
id: tauri
|
||||
with:
|
||||
filters: |
|
||||
src:
|
||||
- 'packages/gui/src-tauri/**'
|
||||
- 'modules/gui/src-tauri/**'
|
||||
build_svelte:
|
||||
needs: changes
|
||||
if: needs.changes.outputs.svelte == 'true'
|
||||
|
@ -99,7 +99,7 @@ jobs:
|
|||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
./packages/gui/src-tauri/target
|
||||
./modules/gui/src-tauri/target
|
||||
key: ${{ matrix.platform }}-build-target-prod
|
||||
restore-keys: |
|
||||
${{ matrix.platform }}-build-target-prod
|
||||
|
@ -118,12 +118,12 @@ jobs:
|
|||
- name: mac-os cp package images from prod to gui bucket
|
||||
if: matrix.platform == 'macos-latest'
|
||||
run: |
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
s3://preview.gui.tea.xyz/release/gui_${{ steps.date.outputs.unix_seconds }}.dmg
|
||||
|
||||
- name: ubuntu cp package images from prod to gui bucket
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
s3://preview.gui.tea.xyz/release/gui_${{ steps.date.outputs.unix_seconds }}.deb
|
||||
|
||||
|
|
10
.github/workflows/release.yml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
|||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
./packages/gui/src-tauri/target
|
||||
./modules/gui/src-tauri/target
|
||||
key: ${{ matrix.platform }}-build-target-prod
|
||||
restore-keys: |
|
||||
${{ matrix.platform }}-build-target-prod
|
||||
|
@ -70,14 +70,14 @@ jobs:
|
|||
- name: UBUNTU publish release
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_latest.${{matrix.platform}}.deb
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/deb/gui_0.1.0_amd64.deb \
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_${{steps.tag.outputs.tag}}.${{matrix.platform}}.deb
|
||||
- name: MAC INTEL publish release
|
||||
if: matrix.platform == 'macos-latest'
|
||||
run: |
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_latest.${{matrix.platform}}.dmg
|
||||
aws s3 cp ./packages/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/dmg/gui_0.1.0_x64.dmg \
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_${{steps.tag.outputs.tag}}.${{matrix.platform}}.dmg
|
|
@ -49,5 +49,5 @@ $ AWS_PROFILE=tea/or/etc pnpm release
|
|||
|
||||
Refer to each package README.md for instructions on how to setup and contribue to them:
|
||||
|
||||
* [tea/gui](./packages/gui/README.md)
|
||||
* [tea/ui](./packages/ui/README.md)
|
||||
* [tea/gui](./modules/gui/README.md)
|
||||
* [tea/ui](./modules/ui/README.md)
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 764 KiB After Width: | Height: | Size: 764 KiB |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |