@@ -26,14 +26,13 @@ jobs:
2626 runs-on : ubuntu-latest
2727 steps :
2828 - name : Checkout
29- uses : actions/checkout@v3.1.0
29+ uses : actions/checkout@v4
3030 with :
3131 fetch-depth : 0
3232
3333 - name : Setup dotnet
34- uses : actions/setup-dotnet@v3
34+ uses : actions/setup-dotnet@v4
3535 with :
36- dotnet-version : 2.2.108
3736 source-url : https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
3837 env :
3938 NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
5655 run : dotnet pack -c Release -p:PackageVersion=1.0.0.0
5756
5857 - name : Upload windows artifact
59- uses : actions/upload-artifact@v3
58+ uses : actions/upload-artifact@v4
6059 with :
6160 name : nuget
6261 path : ./BrainAI/bin/Release/BrainAI.*.nupkg
@@ -65,17 +64,16 @@ jobs:
6564 godot :
6665 needs : build
6766 runs-on : ubuntu-latest
68- name : Build artifacts
67+ name : Build godot artifacts
6968 steps :
7069 - name : Checkout
71- uses : actions/checkout@v3.1.0
70+ uses : actions/checkout@v4
7271 with :
7372 fetch-depth : 0
7473
7574 - name : Setup dotnet
76- uses : actions/setup-dotnet@v3
75+ uses : actions/setup-dotnet@v4
7776 with :
78- dotnet-version : 2.2.108
7977 source-url : https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
8078 env :
8179 NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
@@ -86,18 +84,19 @@ jobs:
8684
8785 - name : Export game
8886 id : export
89- uses : firebelley/godot-export@v4.4 .0
87+ uses : firebelley/godot-export@v6.0 .0
9088 with :
9189 godot_executable_download_url : https://downloads.tuxfamily.org/godotengine/3.5.1/mono/Godot_v3.5.1-stable_mono_linux_headless_64.zip
9290 godot_export_templates_download_url : https://downloads.tuxfamily.org/godotengine/3.5.1/mono/Godot_v3.5.1-stable_mono_export_templates.tpz
9391 relative_project_path : ./BrainAI.Demo/
9492 export_debug : false
9593 use_preset_export_path : true
94+ use_godot_3 : true
9695 env :
9796 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9897
9998 - name : Upload pages artifact
100- uses : actions/upload-pages-artifact@v1
99+ uses : actions/upload-pages-artifact@v3
101100 with :
102101 path : ${{ steps.export.outputs.build_directory }}/HTML5
103102
@@ -111,10 +110,10 @@ jobs:
111110 runs-on : ubuntu-latest
112111 steps :
113112 - name : Setup Pages
114- uses : actions/configure-pages@v2
113+ uses : actions/configure-pages@v5
115114 - name : Deploy to GitHub Pages
116115 id : deployment
117- uses : actions/deploy-pages@v1
116+ uses : actions/deploy-pages@v4
118117
119118 pack :
120119 needs : build
@@ -123,13 +122,13 @@ jobs:
123122 if : startsWith(github.ref, 'refs/tags/v')
124123 steps :
125124 - name : Download artifact
126- uses : actions/download-artifact@v4.1.7
125+ uses : actions/download-artifact@v4
127126 with :
128127 name : nuget
129128 path : ./artifacts
130129
131130 - name : Setup nuget
132- uses : nuget/setup-nuget@v1
131+ uses : nuget/setup-nuget@v2
133132 with :
134133 nuget-version : ' latest'
135134
0 commit comments