CI: Update all GitHub actions to their latest version

This commit is contained in:
Rémi Verschelde 2024-11-05 22:40:36 +01:00
parent 5f23165ccc
commit 6b202812ff
No known key found for this signature in database
GPG Key ID: C3336907360768E1
11 changed files with 15 additions and 14 deletions

View File

@ -12,7 +12,7 @@ runs:
steps:
# Upload cache on completion and check it out now
- name: Load .scons_cache directory
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{inputs.scons-cache}}
key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}

View File

@ -12,7 +12,7 @@ runs:
steps:
# Use python 3.x release (works cross platform)
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
# Semantic version range syntax or exact version of a Python version
python-version: ${{ inputs.python-version }}

View File

@ -12,7 +12,7 @@ runs:
using: "composite"
steps:
- name: Upload Godot Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: ${{ inputs.path }}

View File

@ -17,7 +17,7 @@ jobs:
name: Template (target=release, tools=no)
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Azure repositories are not reliable, we need to prevent azure giving us packages.
- name: Make apt sources.list use the default Ubuntu repositories
@ -27,8 +27,9 @@ jobs:
sudo apt-get update
- name: Set up Java 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Setup Godot build cache

View File

@ -16,7 +16,7 @@ jobs:
name: Template (target=release, tools=no)
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Godot build cache
uses: ./.github/actions/godot-cache

View File

@ -18,18 +18,18 @@ jobs:
name: Template (target=release, tools=no)
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Additional cache for Emscripten generated system libraries
- name: Load Emscripten cache
id: javascript-template-emscripten-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{env.EM_CACHE_FOLDER}}
key: ${{env.EM_VERSION}}-${{github.job}}
- name: Set up Emscripten latest
uses: mymindstorm/setup-emsdk@v10
uses: mymindstorm/setup-emsdk@v14
with:
version: ${{env.EM_VERSION}}
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}

View File

@ -47,7 +47,7 @@ jobs:
artifact: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Linux dependencies
shell: bash

View File

@ -30,7 +30,7 @@ jobs:
tools: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Godot build cache
uses: ./.github/actions/godot-cache

View File

@ -29,7 +29,7 @@ jobs:
tools: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Linux dependencies
shell: bash

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
# Azure repositories are not reliable, we need to prevent Azure giving us packages.
- name: Make apt sources.list use the default Ubuntu repositories

View File

@ -33,7 +33,7 @@ jobs:
tools: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Godot build cache
uses: ./.github/actions/godot-cache