From ba969207c307573a873cd0e4e9b0e1b4f6a72cf4 Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Thu, 9 Jan 2025 07:56:41 +1300 Subject: [PATCH] Update macos environment: 12 -> latest macos-12 is deprecated. Closes #23. --- .github/workflows/demo.yml | 8 ++++---- test_project/export_presets.cfg | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 69d2ca5c..e6fb02f5 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-12] + os: [ubuntu-latest, windows-latest, macos-latest] bits: [64, 32] mono: [true, false] version: @@ -32,11 +32,11 @@ jobs: - version: "v4.2.1-stable" export-templates: true exclude: - - os: macos-12 + - os: macos-latest bits: 32 - mono: true version: "v4.2.1-stable" - - os: macos-12 + - os: macos-latest version: "v4.2.1-stable" - os: windows-latest version: "v4.2.1-stable" @@ -76,7 +76,7 @@ jobs: ./test --rendering-driver opengl3 grep 'Test success!' ~/.local/share/godot/app_userdata/test/test.log || grep 'Test success!' ~/.local/share/godot/app_userdata/test/logs/godot.log - name: Run exported project (macos) - if: ${{ matrix.export-templates == true && matrix.os == 'macos-12' }} + if: ${{ matrix.export-templates == true && matrix.os == 'macos-latest' }} working-directory: test_project run: | volume=`hdiutil attach ./test.dmg | grep Volumes | awk '{print $3}'` diff --git a/test_project/export_presets.cfg b/test_project/export_presets.cfg index 279634c7..73ae999a 100644 --- a/test_project/export_presets.cfg +++ b/test_project/export_presets.cfg @@ -130,7 +130,7 @@ progressive_web_app/background_color=Color( 0, 0, 0, 1 ) [preset.4] -name="macos-12" +name="macos-latest" platform="Mac OSX" runnable=true custom_features=""