Skip to content

Commit b9c35f1

Browse files
committed
Update build workflow using newer GitHub actions
1 parent 8bcba08 commit b9c35f1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
- platform: macos
2323
simulator: true
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v5
2626
with:
2727
submodules: true
2828
- name: Install dependencies
2929
run: |
3030
brew install scons
3131
- name: Cache SCons files and compiled files
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: .scons-cache/
3535
key: ${{ matrix.platform }}-simulator=${{ matrix.simulator }}-${{ matrix.arch }}-${{ matrix.target }}-${{ hashfiles('.gitmodules', 'SConstruct', 'src/**') }}
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
scons platform=${{ matrix.platform }} ios_simulator=${{ matrix.simulator }} arch=${{ matrix.arch }} target=${{ matrix.target }}
4141
- name: Upload artifact
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: ${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.target }}
4545
path: |
@@ -68,7 +68,7 @@ jobs:
6868
arch: x86_32
6969
scons-args: android_api_level=19
7070
steps:
71-
- uses: actions/checkout@v3
71+
- uses: actions/checkout@v5
7272
with:
7373
submodules: true
7474
- name: Install dependencies
@@ -83,7 +83,7 @@ jobs:
8383
run: |
8484
scons platform=${{ matrix.platform }} arch=${{ matrix.arch }} target=template_release build_library=false ${{ join(matrix.scons-args, ' ') }}
8585
- name: Upload artifact
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
with:
8888
name: ${{ matrix.platform }}-${{ matrix.arch }}
8989
path: |
@@ -99,15 +99,15 @@ jobs:
9999
include:
100100
- name: macOS
101101
runner-os: macos-latest
102-
godot-release: 4.1.1-stable/Godot_v4.1.1-stable_macos.universal.zip
102+
godot-release: 4.5.1-stable/Godot_v4.5.1-stable_macos.universal.zip
103103
godot-bin: ./Godot.app/Contents/MacOS/Godot
104104
env:
105105
GODOT_BIN: ${{ matrix.godot-bin }}
106106
steps:
107-
- uses: actions/checkout@v3
107+
- uses: actions/checkout@v5
108108
- name: Download artifacts
109109
id: download
110-
uses: actions/download-artifact@v3
110+
uses: actions/download-artifact@v5
111111
with:
112112
path: artifacts
113113
- name: Copy artifacts to build folder
@@ -125,16 +125,16 @@ jobs:
125125
needs: [build_macos, build_linux]
126126
runs-on: ubuntu-latest
127127
steps:
128-
- uses: actions/checkout@v3
128+
- uses: actions/checkout@v5
129129
- name: Download artifacts
130130
id: download
131-
uses: actions/download-artifact@v3
131+
uses: actions/download-artifact@v5
132132
with:
133133
path: artifacts
134134
- name: Copy artifacts to build folder
135135
run: cp -r ${{ steps.download.outputs.download-path }}/**/libobjcgdextension* addons/objc-gdextension/build
136136
- name: Upload artifact
137-
uses: actions/upload-artifact@v3
137+
uses: actions/upload-artifact@v4
138138
with:
139139
name: objc-gdextension
140140
path: |

0 commit comments

Comments
 (0)