Skip to content

Commit

Permalink
ci: add packages to build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nanu-c committed Jun 20, 2023
1 parent fcb0421 commit 046ddc1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@ jobs:
name: build-axolotl-linux-amd64
path: target/release/axolotl
retention-days: 1
- name: Upload deb package
uses: actions/upload-artifact@v3
with:
name: build-axolotl-linux-amd64
path: target/release/bundle/deb
retention-days: 1
- name: Upload deb package
uses: actions/upload-artifact@v3
with:
name: build-axolotl-linux-amd64
path: target/release/bundle/appimage
retention-days: 1

build-axolotl-web-arm64:
name: Build axolotl-web arm64
Expand Down Expand Up @@ -158,6 +170,10 @@ jobs:
with:
toolchain: stable
targets: aarch64-unknown-linux-gnu
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}

- name: Rust cache
uses: swatinem/rust-cache@v2
Expand Down Expand Up @@ -195,6 +211,12 @@ jobs:
- name: Install tauri-cli
run: cargo install tauri-cli

- name: Install vite
run: npm install -g vite

- name: Download dependencies
run: npm --prefix ./axolotl-web ci --loglevel verbose

- name: Build deb package
run: cargo tauri build -b deb --target aarch64-unknown-linux-gnu --features tauri

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ ut = ["dep:dbus"]

[[example]]
name = "dump_db"
path = "examples/dump/dump_db.rs"
path = "examples/dump/dump_db.rs"
10 changes: 7 additions & 3 deletions tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
},
"package": {
"productName": "Axolotl",
"version": "0.1.0"
"version": "2.0.0"
},
"tauri": {
"bundle": {
"active": true,
"category": "DeveloperTool",
"appimage":{
"bundleMediaFramework": true
},
"category": "SocialNetworking",
"copyright": "",
"deb": {
"depends": []
Expand All @@ -34,9 +37,10 @@
"providerShortName": null,
"signingIdentity": null
},
"publisher": "Aaron Kimmig",
"resources": [],
"shortDescription": "",
"targets": "all",
"targets": ["deb", "appimage"],
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
Expand Down

0 comments on commit 046ddc1

Please sign in to comment.