GHA: Bump cache & setup-python actions
Also fixes some Node.js-related warnings in GHA builds.
This commit is contained in:
parent
0be16edee0
commit
3ae38ee5da
|
@ -89,7 +89,7 @@ jobs:
|
|||
- uses: ./modules/limboai/.github/actions/init-version
|
||||
|
||||
- name: Set up Java 17
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
|
@ -102,7 +102,7 @@ jobs:
|
|||
scons --version
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
@ -153,13 +153,13 @@ jobs:
|
|||
path: platform/android/java/lib/libs/
|
||||
|
||||
- name: Set up Java 17
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
architecture: x64
|
||||
|
|
|
@ -148,14 +148,14 @@ jobs:
|
|||
|
||||
- name: Set up Python 3.x
|
||||
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
architecture: "x64"
|
||||
|
||||
- name: Set up Emscripten cache
|
||||
if: matrix.opts.platform == 'web'
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.EM_CACHE_FOLDER}}
|
||||
key: ${{env.EM_VERSION}}-${{runner.os}}-libs
|
||||
|
@ -185,7 +185,7 @@ jobs:
|
|||
uses: ammaraskar/msvc-problem-matcher@master
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-cpp-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
|
|
@ -22,7 +22,6 @@ on:
|
|||
type: string
|
||||
default: master
|
||||
|
||||
|
||||
# Global Settings
|
||||
env:
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
|
@ -31,7 +30,6 @@ env:
|
|||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
|
||||
jobs:
|
||||
|
||||
ios-builds:
|
||||
runs-on: "macos-latest"
|
||||
name: ${{ matrix.name }}
|
||||
|
@ -76,7 +74,6 @@ jobs:
|
|||
BIN: godot.ios.${{matrix.target}}.${{matrix.arch}}
|
||||
|
||||
steps:
|
||||
|
||||
- name: Clone Godot
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -93,10 +90,10 @@ jobs:
|
|||
- uses: ./modules/limboai/.github/actions/init-version
|
||||
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
architecture: 'x64'
|
||||
python-version: "3.x"
|
||||
architecture: "x64"
|
||||
|
||||
- name: Set up scons
|
||||
run: |
|
||||
|
@ -114,7 +111,7 @@ jobs:
|
|||
sh misc/scripts/install_vulkan_sdk_macos.sh
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
@ -141,7 +138,6 @@ jobs:
|
|||
needs: ios-builds
|
||||
|
||||
steps:
|
||||
|
||||
- name: Clone Godot
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
@ -118,7 +118,7 @@ jobs:
|
|||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
exclude:
|
||||
- { opts: {should-build: false }}
|
||||
- { opts: { should-build: false } }
|
||||
|
||||
env:
|
||||
BIN: godot.linuxbsd.${{matrix.opts.target}}.${{matrix.opts.arch}}${{ matrix.opts.build-mono == true && '.mono' || '' }}
|
||||
|
@ -162,7 +162,7 @@ jobs:
|
|||
cd ..
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
|
|
@ -30,7 +30,6 @@ on:
|
|||
type: boolean
|
||||
default: false
|
||||
|
||||
|
||||
# Global Settings
|
||||
env:
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
|
@ -136,13 +135,12 @@ jobs:
|
|||
# should-build: ${{ !inputs.test-build }}
|
||||
|
||||
exclude:
|
||||
- { opts: {should-build: false }}
|
||||
- { opts: { should-build: false } }
|
||||
|
||||
env:
|
||||
BIN: godot.macos.${{matrix.opts.target}}.${{matrix.opts.arch}}${{ matrix.opts.build-mono == true && '.mono' || '' }}
|
||||
|
||||
steps:
|
||||
|
||||
- name: Clone Godot
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -159,10 +157,10 @@ jobs:
|
|||
- uses: ./modules/limboai/.github/actions/init-version
|
||||
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
architecture: 'x64'
|
||||
python-version: "3.x"
|
||||
architecture: "x64"
|
||||
|
||||
- name: Set up scons
|
||||
run: |
|
||||
|
@ -180,7 +178,7 @@ jobs:
|
|||
sh misc/scripts/install_vulkan_sdk_macos.sh
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
@ -224,7 +222,6 @@ jobs:
|
|||
needs: macos-builds
|
||||
|
||||
steps:
|
||||
|
||||
- name: Clone Godot
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
cd ..
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{env.GODOT_REF}}-${{github.ref}}-${{github.sha}}
|
||||
|
@ -75,7 +75,7 @@ jobs:
|
|||
continue-on-error: true
|
||||
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
architecture: "x64"
|
||||
|
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
- uses: ./modules/limboai/.github/actions/init-version
|
||||
|
||||
- name: Set up Emscripten cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.EM_CACHE_FOLDER}}
|
||||
key: ${{env.EM_VERSION}}-${{runner.os}}-libs
|
||||
|
@ -97,7 +97,7 @@ jobs:
|
|||
scons --version
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.CACHE_NAME}}-${{inputs.godot-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
|
|
@ -119,7 +119,7 @@ jobs:
|
|||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
exclude:
|
||||
- { opts: {should-build: false }}
|
||||
- { opts: { should-build: false } }
|
||||
|
||||
env:
|
||||
BIN: godot.windows.${{matrix.opts.target}}.${{matrix.opts.arch}}${{ matrix.opts.build-mono == true && '.mono' || '' }}
|
||||
|
@ -141,10 +141,10 @@ jobs:
|
|||
- uses: ./modules/limboai/.github/actions/init-version
|
||||
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
architecture: 'x64'
|
||||
python-version: "3.x"
|
||||
architecture: "x64"
|
||||
|
||||
- name: Set up scons
|
||||
run: |
|
||||
|
@ -157,7 +157,7 @@ jobs:
|
|||
uses: ammaraskar/msvc-problem-matcher@master
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-treeish}}-${{inputs.limboai-treeish}}-${{env.LIMBOAI_VERSION}}
|
||||
|
|
Loading…
Reference in New Issue