From 9f92772ca495357323817126b0aeff14611d4143 Mon Sep 17 00:00:00 2001 From: itn3000 Date: Fri, 27 Dec 2024 00:21:25 +0900 Subject: [PATCH] update hosted runner version --- .github/workflows/pull_request.yaml | 8 ++++---- .github/workflows/push.yaml | 11 +++-------- .github/workflows/release.yaml | 13 ++++--------- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 60024b7..30be755 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -9,7 +9,7 @@ jobs: os: - windows-2022 - ubuntu-22.04 - - macos-11 + - macos-13 include: - os: windows-2022 osimage: windows-2022 @@ -19,10 +19,10 @@ jobs: osimage: ubuntu-22.04 exename: cs2mmd runtime: linux-x64 - - os: macos-11 - osimage: macos-11 + - os: macos-13 + osimage: macos-13 exename: cs2mmd - runtime: osx-x64 + runtime: osx-arm64 runs-on: ${{ matrix.osimage }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 0c28ffe..0e79371 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -12,8 +12,7 @@ jobs: os: - windows-2022 - ubuntu-22.04 - - macos-11 - - macos-12-arm + - macos-13 include: - os: windows-2022 osimage: windows-2022 @@ -23,12 +22,8 @@ jobs: osimage: ubuntu-22.04 exename: cs2mmd runtime: linux-x64 - - os: macos-11 - osimage: macos-11 - exename: cs2mmd - runtime: osx-x64 - - os: macos-12-arm - osimage: macos-11 + - os: macos-13 + osimage: macos-13 exename: cs2mmd runtime: osx-arm64 runs-on: ${{ matrix.osimage }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3c09d71..7514b86 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,8 +9,7 @@ jobs: os: - windows-2022 - ubuntu-22.04 - - macos-11 - - macos-12-arm + - macos-13 include: - os: windows-2022 osimage: windows-2022 @@ -20,12 +19,8 @@ jobs: osimage: ubuntu-22.04 exename: cs2mmd runtime: linux-x64 - - os: macos-11 - osimage: macos-11 - exename: cs2mmd - runtime: osx-x64 - - os: macos-12-arm - osimage: macos-11 + - os: macos-13 + osimage: macos-13 exename: cs2mmd runtime: osx-arm64 runs-on: ${{ matrix.osimage }} @@ -92,7 +87,7 @@ jobs: env: NUGET_AUTH_TOKEN: ${{ secrets.NUGET_AUTH_TOKEN }} - name: upload tgz to github release - run: gh release upload ${{github.event.release.tag_name}} artifacts/tgz-linux-x64/*.* artifacts/tgz-osx-x64/*.* artifacts/tgz-osx-arm64/*.* --clobber + run: gh release upload ${{github.event.release.tag_name}} artifacts/tgz-linux-x64/*.* artifacts/tgz-osx-arm64/*.* artifacts/tgz-osx-arm64/*.* --clobber env: GH_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: upload zip and nupkg to github release