Skip to content

Commit

Permalink
fix gh actions script
Browse files Browse the repository at this point in the history
  • Loading branch information
maotovisk committed Jun 30, 2023
1 parent 9250653 commit 8bd8d6b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ jobs:
uses: pnpm/action-setup@v2
with:
version: 8
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: setup node
uses: actions/setup-node@v3
Expand All @@ -52,7 +65,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install node dependencies
run: pnpm install

- uses: JonasKruckenberg/[email protected]
id: tauri_build
with:
Expand Down

0 comments on commit 8bd8d6b

Please sign in to comment.