Skip to content

Commit

Permalink
fix: plop
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Sep 24, 2024
1 parent 5b068dd commit 6af7f94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Setup & Build
uses: ./actions/setup_and_build
with:
pkg_to_build: ${{ matrix.pkg_to_build }}
cache_suffix: ${{ matrix.pkg_to_build }}

- name: Lint Files
# no need to lint files on all platforms
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Setup & Build
uses: ./actions/setup_and_build
with:
pkg_to_build: 'windows_x64'
cache_suffix: 'windows_x64'

# we want to test on all platforms are some are testing the menus rendered (and are depent on the platform)
- name: Unit Test
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Setup & Build
uses: ./actions/setup_and_build
with:
pkg_to_build: 'macos_x64'
cache_suffix: 'macos_x64'

# we want to test on all platforms are some are testing the menus rendered (and are depent on the platform)
- name: Unit Test
Expand Down
6 changes: 3 additions & 3 deletions actions/setup_and_build/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Setup and build'
description: 'Setup and build Session Desktop'
inputs:
pkg_to_build:
cache_suffix:
description: 'the package we are currently building (used as key for the cached node_modules)'
required: true

Expand Down Expand Up @@ -32,7 +32,7 @@ runs:
id: cache-desktop-modules
with:
path: node_modules
key: ${{ runner.os }}-${{ runner.arch }}-${{ inputs.pkg_to_build }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ inputs.cache_suffix }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}

- name: Install dependencies
shell: bash
Expand All @@ -44,7 +44,7 @@ runs:
if: runner.os != 'Windows'
with:
path: node_modules
key: ${{ runner.os }}-${{ runner.arch }}-${{ inputs.pkg_to_build }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ inputs.cache_suffix }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}

- name: Generate and concat files
shell: bash
Expand Down

0 comments on commit 6af7f94

Please sign in to comment.