Build again #126
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
name: Build | |
env: | |
CARGO_TERM_COLOR: always | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '16.x' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev \ | |
webkit2gtk-4.0 libappindicator3-dev \ | |
librsvg2-dev patchelf libdbus-1-dev \ | |
pkg-config | |
- name: Fetch Node.js Dependencies | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
run_install: true | |
- name: Build Release version | |
run: pnpm build | |
- name: Upload AppImage | |
uses: actions/[email protected] | |
with: | |
name: ark-shelf-desktop.AppImage | |
path: ./target/release/bundle/appimage/ark-shelf-desktop_*_amd64.AppImage | |
- name: Upload .deb build | |
uses: actions/[email protected] | |
with: | |
name: ark-shelf-desktop.deb | |
path: ./target/release/bundle/deb/ark-shelf-desktop_*_amd64.deb | |
- name: Upload binary build | |
uses: actions/[email protected] | |
with: | |
name: ark-shelf-desktop | |
path: ./target/release/ark-shelf-desktop |