Skip to content

Commit de7bdf9

Browse files
committed
Update release actions to v4 (node 20)
1 parent 6dbe85f commit de7bdf9

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

.github/workflows/activation.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ jobs:
7777
# Unity 2020 cache is not compatible with older versions
7878
- name: Unity Library Cache 2020 or higher
7979
if: ${{ !startsWith(needs.variables.outputs.UNITY_VERSION, '201') }}
80-
uses: actions/cache@v3
80+
uses: actions/cache@v4
8181
with:
8282
path: Library
8383
key: Library-202x-WebGL
8484
restore-keys: Library-202x-
8585

8686
- name: Unity Library Cache 2019 or lower
8787
if: ${{ startsWith(needs.variables.outputs.UNITY_VERSION, '201') }}
88-
uses: actions/cache@v3
88+
uses: actions/cache@v4
8989
with:
9090
path: Library
9191
key: Library-201x-WebGL
@@ -103,7 +103,7 @@ jobs:
103103
targetPlatform: WebGL
104104
buildName: ${{ needs.variables.outputs.BUILD_NAME }}
105105

106-
- uses: actions/upload-artifact@v3
106+
- uses: actions/upload-artifact@v4
107107
with:
108108
name: ${{ needs.variables.outputs.BUILD_NAME }}
109109
path: build/WebGL
@@ -116,7 +116,7 @@ jobs:
116116
runs-on: ubuntu-latest
117117
steps:
118118
- name: Create Release
119-
uses: softprops/action-gh-release@v1
119+
uses: softprops/action-gh-release@v2
120120
with:
121121
body: |
122122
## Changes
@@ -140,7 +140,7 @@ jobs:
140140
- name: Checkout code
141141
uses: actions/checkout@v4
142142

143-
- uses: actions/download-artifact@v3
143+
- uses: actions/download-artifact@v4
144144
with:
145145
name: ${{ needs.variables.outputs.BUILD_NAME }}
146146
path: build
@@ -150,7 +150,7 @@ jobs:
150150
working-directory: build/${{ needs.variables.outputs.BUILD_NAME }}
151151

152152
- name: Deploy ⤴
153-
uses: SamKirkland/FTP-Deploy-Action@4.3.3
153+
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
154154
with:
155155
server: ${{ secrets.FTP_SERVER }}
156156
username: ${{ secrets.FTP_USER }}

.github/workflows/upgrade-unity.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ jobs:
8787
# Unity 2020 cache is not compatible with older versions
8888
- name: Unity Library Cache 2020 or higher
8989
if: ${{ !startsWith(inputs.unityVersion, '201') }}
90-
uses: actions/cache@v3
90+
uses: actions/cache@v4
9191
with:
9292
path: Library
9393
key: Library-202x-WebGL
9494
restore-keys: Library-202x-
9595

9696
- name: Unity Library Cache 2019 or lower
9797
if: ${{ startsWith(inputs.unityVersion, '201') }}
98-
uses: actions/cache@v3
98+
uses: actions/cache@v4
9999
with:
100100
path: Library
101101
key: Library-201x-WebGL
@@ -148,7 +148,7 @@ jobs:
148148
- name: Render template
149149
if: ${{ !inputs.tagsOnly }}
150150
id: template
151-
uses: chuhlomin/render-template@v1.4
151+
uses: chuhlomin/render-template@v1.9
152152
with:
153153
template: .github/templates/upgrade-unity-pr-body.md
154154
vars: |

0 commit comments

Comments
 (0)