-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* GitHub Actions * Use Node 20 * Dont use Yarn * Unique identifier
- Loading branch information
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters