Skip to content

Commit a7611a5

Browse files
committed
Update CI to Godot 3.5.1-rc1
1 parent 18754a6 commit a7611a5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/composite/godot/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ runs:
3333
key: godot-${{ runner.os }}-v${{ inputs.godot_ver }}
3434
- name: "Install Godot"
3535
if: steps.cache-godot.outputs.cache-hit != 'true'
36+
# filePath: transforms '3.5.1-rc1' into '3.5.1/rc1' and '3.5.1-stable' into '3.5.1'
3637
run: |
37-
wget --no-verbose "https://downloads.tuxfamily.org/godotengine/${{ inputs.godot_ver }}/Godot_v${{ inputs.godot_ver }}-stable_linux_headless.64.zip" -O /tmp/godot.zip
38+
filePath=$(echo "${{ inputs.godot_ver }}" | sed "s!-stable!!" | sed "s!-!/!")
39+
wget --no-verbose "https://downloads.tuxfamily.org/godotengine/$filePath/Godot_v${{ inputs.godot_ver }}_linux_headless.64.zip" -O /tmp/godot.zip
3840
unzip -o /tmp/godot.zip -d ${{ runner.temp }}/godot_bin
3941
shell: bash
4042
- name: "Set environment variable"
4143
run: |
42-
echo "GODOT_BIN=${{ runner.temp }}/godot_bin/Godot_v${{ inputs.godot_ver }}-stable_linux_headless.64" >> $GITHUB_ENV
44+
echo "GODOT_BIN=${{ runner.temp }}/godot_bin/Godot_v${{ inputs.godot_ver }}_linux_headless.64" >> $GITHUB_ENV
4345
shell: bash
4446
- name: "Build godot-rust"
4547
run: |

.github/workflows/full-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,18 +276,18 @@ jobs:
276276
include:
277277
# Latest Godot with different Rust versions
278278
- rust: stable
279-
godot: "3.5"
279+
godot: "3.5.1-rc1"
280280
postfix: ''
281281
- rust: nightly
282-
godot: "3.5"
282+
godot: "3.5.1-rc1"
283283
postfix: ' (nightly)'
284284
- rust: '1.56'
285-
godot: "3.5"
285+
godot: "3.5.1-rc1"
286286
postfix: ' (msrv 1.56)'
287287

288288
# Test with oldest supported engine version
289289
- rust: stable
290-
godot: "3.2"
290+
godot: "3.2-stable"
291291
postfix: ''
292292
build_args: '--features custom-godot'
293293

0 commit comments

Comments
 (0)