fix(front): disable auto capitalize on inputs (#168) #115
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: Release | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
AUTH_GITHUB_ID: ${{ secrets.AUTH_GITHUB_ID }} | |
AUTH_GITHUB_SECRET: ${{ secrets.AUTH_GITHUB_SECRET }} | |
AUTH_GITLAB_ID: ${{ secrets.AUTH_GITLAB_ID }} | |
AUTH_GITLAB_SECRET: ${{ secrets.AUTH_GITLAB_SECRET }} | |
AUTH_SECRET: ${{ secrets.AUTH_SECRET }} | |
PUBLIC_SITE_URL: ${{ secrets.PUBLIC_SITE_URL }} | |
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} | |
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} | |
jobs: | |
release: | |
if: contains(github.event.head_commit.message, 'release') | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: macos-latest | |
target: aarch64-apple-darwin | |
- os: macos-latest | |
target: x86_64-apple-darwin | |
- os: ubuntu-20.04 | |
- os: windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Tauri dependencies (ubuntu only) | |
if: matrix.os == 'ubuntu-20.04' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev | |
- name: Rust setup | |
uses: dtolnay/rust-toolchain@stable | |
- name: Rust cache | |
uses: swatinem/rust-cache@v2 | |
with: | |
workspaces: './src-tauri -> target' | |
- if: matrix.target | |
run: rustup target add ${{ matrix.target }} | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install frontend dependencies | |
run: pnpm install | |
- name: Build app | |
uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} | |
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} | |
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} | |
APPLE_ID: ${{ secrets.APPLE_ID }} | |
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} | |
with: | |
tagName: gitlight-v__VERSION__ | |
releaseName: 'GitLight v__VERSION__' | |
releaseBody: 'See the assets to download and install this version.' | |
releaseDraft: true | |
prerelease: false | |
args: ${{ matrix.target && format('--target {0}', matrix.target) }} |