Skip to content

Commit

Permalink
chore(update): connect app CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
swetar-mecha committed May 17, 2024
1 parent 8d826ac commit 824ef5b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build-connect-app-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Mecha Connect App
package: mecha-connect
artifact: mecha-connect-aarch64-unknown-linux-gnu.tar.gz
path: ./client/app/src-tauri
path: ./client

runs-on: ubicloud-standard-2-arm
continue-on-error: false
Expand Down Expand Up @@ -53,25 +53,17 @@ jobs:
protobuf-compiler \
libprotobuf-dev
- name: Build [${{ matrix.package }}]
run: |
cd ${{ matrix.path }}
cargo --config net.git-fetch-with-cli=true fetch
cargo build --release
ls -la
- name: Package deb [${{ matrix.package }}]
continue-on-error: true
run: |
cd ${{ matrix.path }}
cargo deb --no-build
cargo tauri build --bundles deb
ls -la
- name: Prepare artifacts [${{ matrix.package }}]
run: |
mkdir build
cp ./target/release/${{ matrix.package }} ./build
cp ./target/debian/*.deb ./build
cp ../target/release/bundle/deb/${{ matrix.package }} ./build
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 824ef5b

Please sign in to comment.