Skip to content

fix sentry bug app re-open bug, install radix, update styling #31

fix sentry bug app re-open bug, install radix, update styling

fix sentry bug app re-open bug, install radix, update styling #31

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [published] # has GITHUB_REF as refs/tags/<tag_name>
jobs:
build:
strategy:
fail-fast: true
matrix:
os:
# - macos-latest
- ubuntu-latest
# - windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust cache
uses: actions/cache@v3
with:
key: ${{ matrix.os }}-${{ hashFiles('src-tauri/Cargo.lock') }}
path: |
~/.cargo
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.16
cache: yarn
cache-dependency-path: |
yarn.lock
- name: 🦀 Install Rust
uses: actions-rs/toolchain@v1
with: { toolchain: stable }
- name: Install webkit2gtk (ubuntu only)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install Node.js dependencies
run: yarn install
- name: Build application
run: yarn build
- name: Build the app
if: startsWith(github.ref, 'refs/tags/v')
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
# APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
# APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
# APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: 'herocast v__VERSION__'
releaseBody: 'See the assets to download this version and install.'
releaseDraft: true
prerelease: false
# - name: Upload release artifacts
# if: startsWith(github.ref, 'refs/tags/v')
# uses: actions/upload-artifact@v3
# with:
# name: release-${{ matrix.os }}
# path: |
# src-tauri/target/release/**/*