Upgrade deps (#1229)

* upgrade deps

* update workflows

* upgrade yarn
This commit is contained in:
an-lee
2024-12-07 12:02:47 +08:00
committed by GitHub
parent 10e0f3bd06
commit c577b9d66d
11 changed files with 387 additions and 280 deletions

View File

@@ -4,7 +4,7 @@ on:
jobs:
build:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
@@ -16,7 +16,7 @@ jobs:
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: "**/node_modules"
key: macos-14-${{ hashFiles('**/yarn.lock') }}
key: macos-15-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install

View File

@@ -1,10 +1,10 @@
name: Build Enjoy App (macos-12)
name: Build Enjoy App (macos-x64)
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v4
@@ -16,7 +16,7 @@ jobs:
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: "**/node_modules"
key: macos-12-${{ hashFiles('**/yarn.lock') }}
key: macos-13-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install

View File

@@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, macos-14, windows-latest, ubuntu-latest]
os: [macos-13, macos-15, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
@@ -38,7 +38,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Enjoy-${{ runner.os }}-${{ matrix.os == 'macos-14' && 'arm64' || 'x64' }}-build-${{ github.ref_name }}
name: Enjoy-${{ runner.os }}-${{ matrix.os == 'macos-15' && 'arm64' || 'x64' }}-build-${{ github.ref_name }}
path: |
enjoy/out/make/**/*.deb
enjoy/out/make/**/*.rpm

View File

@@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-14, windows-latest, windows-2019, ubuntu-latest]
os: [macos-13, macos-15, windows-latest, windows-2019, ubuntu-latest]
steps:
- uses: actions/checkout@v4
@@ -36,8 +36,8 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Install sdl2 for macOS12
if: matrix.os == 'macos-12'
- name: Install sdl2 for macOS13
if: matrix.os == 'macos-13'
run: |
brew update
brew install sdl2