Skip to content

feat: add detail view for secrets and easy decoding #115

feat: add detail view for secrets and easy decoding

feat: add detail view for secrets and easy decoding #115

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- "src/**"
- "src-tauri/**"
- "tests/**"
- "package-lock.json"
- ".github/workflows/**"
pull_request:
paths:
- "src/**"
- "src-tauri/**"
- "tests/**"
- "package-lock.json"
- ".github/workflows/test.yml"
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
test-build:
strategy:
fail-fast: true
matrix:
platform: [macos-latest, ubuntu-24.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm install
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-24.04'
run: |
sudo apt update;
sudo apt install -y \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libappindicator3-dev \
librsvg2-dev;
sudo apt install -y \
libwebkit2gtk-4.1-0=2.44.0-2 \
libwebkit2gtk-4.1-dev=2.44.0-2 \
libjavascriptcoregtk-4.1-0=2.44.0-2 \
libjavascriptcoregtk-4.1-dev=2.44.0-2 \
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
gir1.2-webkit2-4.1=2.44.0-2;
- name: Set-up OpenSSL (Windows Only)
if: matrix.platform == 'windows-latest'
run: |
mkdir -p "C:\Program Files\OpenSSL\ca"
curl -o "C:\Program Files\OpenSSL\ca\cacert.pem" https://curl.se/ca/cacert.pem
copy "C:\Program Files\OpenSSL\bin\libcrypto-1_1-x64.dll" .\src-tauri
copy "C:\Program Files\OpenSSL\bin\libssl-1_1-x64.dll" .\src-tauri
- name: Set Windows Env Vars
if: matrix.platform == 'windows-latest'
run: |
echo "OPENSSL_DIR='C:\Program Files\OpenSSL'" >> $env:GITHUB_ENV
echo "SSL_CERT_FILE='C:\Program Files\OpenSSL\ca\cacert.pem'" >> $env:GITHUB_ENV
echo "OPENSSL_NO_VENDOR=1" >> $env:GITHUB_ENV
- name: Build Vite + Tauri
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
run: |
npm run build