Skip to content

Commit

Permalink
added artifacts upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gadorek committed Sep 24, 2024
1 parent be0d09e commit a4c2f11
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 8 deletions.
82 changes: 81 additions & 1 deletion .github/workflows/build_tauri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
include:
- platform: "macos-latest" # for Arm based macs (M1 and above).
args: "--target aarch64-apple-darwin"
- platform: "macos-latest" # for Intel based macs.
- platform: "macos-12" # for Intel based macs.
args: "--target x86_64-apple-darwin"
- platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04.
args: ""
Expand Down Expand Up @@ -80,3 +80,83 @@ jobs:
releaseDraft: true
prerelease: false
args: ${{ matrix.args }}

- name: Upload app .deb
uses: actions/upload-artifact@v3
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-deb
path: |
src-tauri/target/release/bundle/deb/*.deb
if-no-files-found: error

- name: Upload app .rpm
uses: actions/upload-artifact@v3
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-rpm
path: |
src-tauri/target/release/bundle/rpm/*.rpm
if-no-files-found: error

- name: Upload app .AppImage
uses: actions/upload-artifact@v3
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-AppImage
path: |
src-tauri/target/release/bundle/appimage/*.AppImage
if-no-files-found: error

- name: Find Mac Build
if: matrix.platform == 'macos-latest'
run: find ./src-tauri/target/ -name 'eim*'

- name: Find Mac Build
if: matrix.platform == 'macos-12'
run: find ./src-tauri/target/ -name 'eim*'

- name: Upload app MacOs
uses: actions/upload-artifact@v3
if: matrix.platform == 'macos-latest'
with:
name: eim-aarch64-dmg
path: |
src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
if: matrix.platform == 'macos-latest'
with:
name: eim-aarch64-app
path: |
src-tauri/target/aarch64-apple-darwin/release/bundle/macos/*.app
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
if: matrix.platform == 'macos-12'
with:
name: eim-x86_64-dmg
path: |
src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/*.dmg
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
if: matrix.platform == 'macos-12'
with:
name: eim-x86_64-app
path: |
src-tauri/target/x86_64-apple-darwin/release/bundle/macos/*.app
if-no-files-found: error

- name: Upload app Windows
uses: actions/upload-artifact@v3
if: matrix.platform == 'windows-latest'
with:
name: eim-msi
path: |
src-tauri/target/release/bundle/msi/*.msi
if-no-files-found: error
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Tauri + Vue 3
# ESP-IDF Installation Manager(EIM) - GUI

This template should help get you started developing with Tauri + Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
EIM is a cross-platform GUI application that simplifies the setup process for ESP-IDF (Espressif IoT Development Framework). Whether you’re working on macOS, Linux, or Windows, EIM offers a consistent and user-friendly experience for installing prerequisites, ESP-IDF itself, and essential development tools.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ idf-im-lib = { git = "https://github.com/espressif/idf-im-lib.git", branch="sett

[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]
features = ["vendored"]

0 comments on commit a4c2f11

Please sign in to comment.