Skip to content

Commit

Permalink
GitHub Actions (#1)
Browse files Browse the repository at this point in the history
* GitHub Actions

* Use Node 20

* Dont use Yarn

* Unique identifier
  • Loading branch information
kirillt authored Feb 18, 2024
1 parent 2e89d55 commit f2a877e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build

env:
CARGO_TERM_COLOR: always

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Setup Node.js
uses: actions/setup-node@v4.0.2
with:
node-version: '20'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev \
webkit2gtk-4.0 javascriptcoregtk-4.1 libappindicator3-dev \
librsvg2-dev patchelf libdbus-1-dev \
pkg-config
cargo install tauri-cli
- name: Fetch Node.js Dependencies
run: npm install

- name: Build Release version
run: cargo tauri build

- name: Upload AppImage
uses: actions/upload-artifact@v3.1.0
with:
name: ark-tauri.AppImage
path: ./src-tauri/target/release/bundle/appimage/ark-tauri_*_amd64.AppImage
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.tauri.dev",
"identifier": "dev.ark-builders.ark-tauri",
"longDescription": "",
"macOS": {
"entitlements": null,
Expand Down

0 comments on commit f2a877e

Please sign in to comment.