Skip to content

add filtering on id or attributes #18

add filtering on id or attributes

add filtering on id or attributes #18

Workflow file for this run

name: 'publish'
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: ubuntu-latest
target: x86_64-unknown-linux-gnu
- platform: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: true
- name: update cargo.toml version
run: |
pnpm run update-cargo ${{ github.ref_name }}
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: '--target ${{ matrix.target }}'
tagName: ${{ github.ref_name }}
releaseName: ${{ github.ref_name }}
releaseBody: 'See the assets to download this version and install.'
prerelease: false