Skip to content

Commit

Permalink
Update Workflows (#135)
Browse files Browse the repository at this point in the history
* Update Workflows

* Final commit...?
  • Loading branch information
Coccocoahelper authored Feb 2, 2024
1 parent 15d4422 commit 8a45746
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- completed
branches:
- master
tags-ignore:
branches-ignore:
- "v*"
workflow_dispatch:

Expand All @@ -21,8 +21,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3

uses: actions/[email protected]
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
Expand All @@ -33,17 +32,17 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Rust cache
uses: swatinem/rust-cache@v2
uses: swatinem/rust-cache@v2.7.3
with:
workspaces: "./src-tauri -> target"

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v2.4.0
with:
version: 8

- name: Sync node version and setup cache
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
Expand All @@ -26,17 +26,17 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Rust cache
uses: swatinem/rust-cache@v2
uses: swatinem/rust-cache@v2.7.3
with:
workspaces: "./src-tauri -> target"

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v2.4.0
with:
version: 8

- name: Sync node version and setup cache
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
Expand Down

0 comments on commit 8a45746

Please sign in to comment.