Skip to content

Commit

Permalink
а если так?
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Nov 13, 2023
1 parent ebfbee8 commit bfe58f4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,22 @@ jobs:
with:
node-version: 18

- name: Get npm cache directory
if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Get npm cache directory
if: ${{ runner.os == 'Windows' }}
id: npm-cache-dir
shell: pwsh
run: echo "dir=$(npm config get cache)" >> ${env:GITHUB_OUTPUT}

- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: ~/.npm
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurora-launcher-app",
"version": "0.0.4-beta.5",
"version": "0.0.4-beta.6",
"description": "Launcher for Minecraft",
"main": "build/main/index.js",
"private": true,
Expand Down Expand Up @@ -106,7 +106,7 @@
"!node_modules/**/*"
],
"nsis": {
"artifactName": "${productName}-Setup-${version}.${ext}"
"artifactName": "${name}-Setup-${version}.${ext}"
},
"mac": {
"category": "public.app-category.games"
Expand Down

0 comments on commit bfe58f4

Please sign in to comment.