4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-22 06:19:50 +01:00

Update electron.yml

This commit is contained in:
Quentin Legot 2022-05-17 13:51:08 +02:00 committed by GitHub
parent 459edb66a7
commit 887c115f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,25 +8,10 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js 14 - name: Use Node.js 16
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 14.x node-version: 16.x
- name: Get npm cache directory cache: 'yarn'
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Intall dependencies - name: Intall dependencies
run: npm ci run: yarn install --frozen-lockfile
- run: npm run make --if-present
# - uses: actions/upload-artifact@v2
# with:
# name: Artifact
# path: out\make\squirrel.windows\x64
# if-no-files-found: error