Code signing + auto updater (#122)

* Code signing + auto updater

* remove dist

* update actions

* fixes

* fix more

* commit

* fix cache dir

* quotes

* fix hopefully?

* why yaml

* Fix cache dep path

* Fix updating artifacts

* fix ubuntu ver

* enable autoupdater

* fix pubkey

* fix invalid config

* pass in signing vars

* update pubkey

* Improve compile times
This commit is contained in:
Geometrically
2023-05-23 11:14:22 -07:00
committed by GitHub
parent 1b47eb71e1
commit 8ff1b0d108
11 changed files with 148 additions and 75 deletions

View File

@@ -13,28 +13,30 @@ jobs:
run:
working-directory: ./theseus_cli
steps:
- uses: actions/checkout@v2
- name: install dependencies (ubuntu only)
- name: Checkout
uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Get build cache
id: cache-build
uses: actions/cache@v2
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
path: ../target/**
key: ${{ runner.os }}-theseus
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- uses: actions-rs/cargo@v1
name: Build program
with:
command: build
args: --bin theseus_cli
- name: Run Lint
uses: actions-rs/clippy-check@v1
with: