name: Release on: push: tags: - 'v*' jobs: linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: npm cache-dependency-path: frontend/package-lock.json - run: npm ci working-directory: frontend - uses: dtolnay/rust-toolchain@stable - run: | sudo apt-get update sudo apt-get install -y \ libwebkit2gtk-4.1-dev \ librsvg2-dev \ patchelf \ libssl-dev \ libgtk-3-dev \ libayatana-appindicator3-dev \ rpm - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tagName: ${{ github.ref_name }} releaseName: 'TalkEdit ${{ github.ref_name }}' releaseBody: 'See the assets to download and install this version.' releaseDraft: false includeUpdaterJson: true args: --bundles deb,rpm windows: runs-on: windows-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: npm cache-dependency-path: frontend/package-lock.json - run: npm ci working-directory: frontend - uses: dtolnay/rust-toolchain@stable - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tagName: ${{ github.ref_name }} releaseName: 'TalkEdit ${{ github.ref_name }}' releaseBody: 'See the assets to download and install this version.' releaseDraft: false includeUpdaterJson: true args: --bundles msi # macos: # runs-on: macos-latest # steps: # - uses: actions/checkout@v4 # - uses: actions/setup-node@v4 # with: # node-version: 20 # cache: npm # cache-dependency-path: frontend/package-lock.json # - run: npm ci # working-directory: frontend # - uses: dtolnay/rust-toolchain@stable # - uses: tauri-apps/tauri-action@v0 # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # with: # tagName: ${{ github.ref_name }} # releaseName: 'TalkEdit ${{ github.ref_name }}' # releaseBody: 'See the assets to download and install this version.' # releaseDraft: false # includeUpdaterJson: true # args: --bundles dmg