@@ -26,14 +26,13 @@ jobs:
26
26
runs-on : ubuntu-latest
27
27
steps :
28
28
- name : Checkout
29
- uses : actions/checkout@v3.1.0
29
+ uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
32
33
33
- name : Setup dotnet
34
- uses : actions/setup-dotnet@v3
34
+ uses : actions/setup-dotnet@v4
35
35
with :
36
- dotnet-version : 2.2.108
37
36
source-url : https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
38
37
env :
39
38
NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
56
55
run : dotnet pack -c Release -p:PackageVersion=1.0.0.0
57
56
58
57
- name : Upload windows artifact
59
- uses : actions/upload-artifact@v3
58
+ uses : actions/upload-artifact@v4
60
59
with :
61
60
name : nuget
62
61
path : ./BrainAI/bin/Release/BrainAI.*.nupkg
@@ -65,17 +64,16 @@ jobs:
65
64
godot :
66
65
needs : build
67
66
runs-on : ubuntu-latest
68
- name : Build artifacts
67
+ name : Build godot artifacts
69
68
steps :
70
69
- name : Checkout
71
- uses : actions/checkout@v3.1.0
70
+ uses : actions/checkout@v4
72
71
with :
73
72
fetch-depth : 0
74
73
75
74
- name : Setup dotnet
76
- uses : actions/setup-dotnet@v3
75
+ uses : actions/setup-dotnet@v4
77
76
with :
78
- dotnet-version : 2.2.108
79
77
source-url : https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
80
78
env :
81
79
NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
@@ -86,18 +84,19 @@ jobs:
86
84
87
85
- name : Export game
88
86
id : export
89
- uses : firebelley/godot-export@v4.4.0
87
+ uses : firebelley/godot-export@v6
90
88
with :
91
89
godot_executable_download_url : https://downloads.tuxfamily.org/godotengine/3.5.1/mono/Godot_v3.5.1-stable_mono_linux_headless_64.zip
92
90
godot_export_templates_download_url : https://downloads.tuxfamily.org/godotengine/3.5.1/mono/Godot_v3.5.1-stable_mono_export_templates.tpz
93
91
relative_project_path : ./BrainAI.Demo/
94
92
export_debug : false
95
93
use_preset_export_path : true
94
+ use_godot_3 : true
96
95
env :
97
96
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
98
97
99
98
- name : Upload pages artifact
100
- uses : actions/upload-pages-artifact@v1
99
+ uses : actions/upload-pages-artifact@v3
101
100
with :
102
101
path : ${{ steps.export.outputs.build_directory }}/HTML5
103
102
@@ -111,10 +110,10 @@ jobs:
111
110
runs-on : ubuntu-latest
112
111
steps :
113
112
- name : Setup Pages
114
- uses : actions/configure-pages@v2
113
+ uses : actions/configure-pages@v5
115
114
- name : Deploy to GitHub Pages
116
115
id : deployment
117
- uses : actions/deploy-pages@v1
116
+ uses : actions/deploy-pages@v4
118
117
119
118
pack :
120
119
needs : build
@@ -123,13 +122,13 @@ jobs:
123
122
if : startsWith(github.ref, 'refs/tags/v')
124
123
steps :
125
124
- name : Download artifact
126
- uses : actions/download-artifact@v4.1.7
125
+ uses : actions/download-artifact@v4
127
126
with :
128
127
name : nuget
129
128
path : ./artifacts
130
129
131
130
- name : Setup nuget
132
- uses : nuget/setup-nuget@v1
131
+ uses : nuget/setup-nuget@v2
133
132
with :
134
133
nuget-version : ' latest'
135
134
0 commit comments