Skip to content

bump version to 0.1.0 #21

bump version to 0.1.0

bump version to 0.1.0 #21

Workflow file for this run

name: Build Tauri app
on: push
jobs:
tauri:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- name: Install dependencies (Linux)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
id: build
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# JSON array to newline-delimited string
- name: Parse artifact paths
id: parse-artifact-paths
shell: bash
run: |
{
echo "artifactPaths<<EOF"
echo '${{ steps.build.outputs.artifactPaths }}' | jq -r '.[]'
echo "EOF"
} >> "$GITHUB_OUTPUT"
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: moonlight-installer-${{ matrix.platform }}
path: ${{ steps.parse-artifact-paths.outputs.artifactPaths }}