mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
fix platform name
This commit is contained in:
parent
51a1168306
commit
5b339c571f
1 changed files with 9 additions and 6 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -169,6 +169,14 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ matrix.platform.name }}-build-target
|
${{ matrix.platform.name }}-build-target
|
||||||
|
|
||||||
|
- name: build platform output
|
||||||
|
id: build_platform
|
||||||
|
env:
|
||||||
|
platform: ${{ matrix.platform.name }}
|
||||||
|
run: |
|
||||||
|
BUILD_PLATFORM=$(echo $platform | sed -e "s/darwin+//g" | sed -e "s/linux+//g")
|
||||||
|
echo "build_platform=$BUILD_PLATFORM" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: test build tauri
|
- name: test build tauri
|
||||||
run: pnpm --filter gui tauri build
|
run: pnpm --filter gui tauri build
|
||||||
|
|
||||||
|
@ -178,11 +186,6 @@ jobs:
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
aws-region: us-east-1
|
aws-region: us-east-1
|
||||||
|
|
||||||
- name: build platform output
|
|
||||||
id: build_platform
|
|
||||||
run: |
|
|
||||||
BUILD_PLATFORM=$(echo $platform | sed -e "s/darwin+//g" | sed -e "s/linux+//g")
|
|
||||||
echo "build_platform=$BUILD_PLATFORM" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: mac-os cp package images from prod to preview bucket
|
- name: mac-os cp package images from prod to preview bucket
|
||||||
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
||||||
|
|
Loading…
Reference in a new issue