3030 build :
3131 runs-on : ubuntu-latest
3232 steps :
33- - uses : actions/checkout@v3
33+ - uses : actions/checkout@v4
3434 - name : github branch
3535 run : |
3636 if [ "${{ github.event.release.target_commitish }}" != "" ]; then
@@ -51,12 +51,12 @@ jobs:
5151 distribution : ' zulu'
5252 java-version : 8
5353 - name : Cache SBT ivy cache
54- uses : actions/cache@v1
54+ uses : actions/cache@v3
5555 with :
5656 path : ~/.ivy2/cache
5757 key : ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('project/Build.scala') }}
5858 - name : Cache SBT
59- uses : actions/cache@v1
59+ uses : actions/cache@v3
6060 with :
6161 path : ~/.sbt
6262 key : ${{ runner.os }}-sbt-${{ hashFiles('project/Build.scala') }}
8585 ports :
8686 - 27017:27017
8787 steps :
88- - uses : actions/checkout@v3
88+ - uses : actions/checkout@v4
8989 - name : github branch
9090 run : |
9191 if [ "${{ github.event.release.target_commitish }}" != "" ]; then
@@ -130,7 +130,7 @@ jobs:
130130 runs-on : ubuntu-latest
131131 needs : build
132132 steps :
133- - uses : actions/checkout@v3
133+ - uses : actions/checkout@v4
134134 - name : github branch
135135 run : |
136136 if [ "${{ github.event.release.target_commitish }}" != "" ]; then
@@ -177,13 +177,13 @@ jobs:
177177 done
178178 rm ${ZIPFILE}
179179 zip -r ${ZIPFILE} ${DIR}
180- - uses : actions/upload-artifact@v2
180+ - uses : actions/upload-artifact@v4
181181 with :
182182 name : clowder.zip
183183 path : target/universal/clowder-*.zip
184184 - name : Upload files to a GitHub release
185185 if : github.event_name == 'release' && github.event.action == 'created'
186- uses : svenstaro/upload-release-action@1.1.0
186+ uses : svenstaro/upload-release-action@v2
187187 with :
188188 repo_token : ${{ secrets.GITHUB_TOKEN }}
189189 tag : ${{ github.ref }}
@@ -207,7 +207,7 @@ jobs:
207207 runs-on : ubuntu-latest
208208 needs : build
209209 steps :
210- - uses : actions/checkout@v3
210+ - uses : actions/checkout@v4
211211 - name : github branch
212212 run : |
213213 if [ "${{ github.event.release.target_commitish }}" != "" ]; then
@@ -237,18 +237,18 @@ jobs:
237237 with :
238238 path : ~/.sbt
239239 key : ${{ runner.os }}-sbt-${{ hashFiles('project/Build.scala') }}
240- - name : Set up Python 3.7
241- uses : actions/setup-python@v1
240+ - name : Set up Python 3.11
241+ uses : actions/setup-python@v5
242242 with :
243- python-version : 3.7
243+ python-version : 3.11
244244 - name : sbt doc
245245 run : ./sbt doc
246246 env :
247247 BRANCH : ${{ env.GITHUB_BRANCH }}
248248 VERSION : ${{ env.CLOWDER_VERSION }}
249249 BUILDNUMBER : ${{ github.run_number }}
250250 GITSHA1 : ${{ github.sha }}
251- - uses : actions/upload-artifact@v2
251+ - uses : actions/upload-artifact@v4
252252 with :
253253 name : ScalaDoc
254254 path : target/scala-*/api/
@@ -266,7 +266,7 @@ jobs:
266266 cd doc/src/sphinx/
267267 python -m pip install -r requirements.txt
268268 make html epub
269- - uses : actions/upload-artifact@v2
269+ - uses : actions/upload-artifact@v4
270270 with :
271271 name : HTML Documentation
272272 path : doc/src/sphinx/_build/html
@@ -279,13 +279,13 @@ jobs:
279279 key : ${{ secrets.SCP_KEY }}
280280 files : " doc/src/sphinx/_build/html/*"
281281 target : " CATS/${{ env.CLOWDER_VERSION }}/documentation/sphinx"
282- - uses : actions/upload-artifact@v2
282+ - uses : actions/upload-artifact@v4
283283 with :
284284 name : EPUB Documentation
285285 path : doc/src/sphinx/_build/epub/Clowder.epub
286286 - name : Upload files to a GitHub release
287287 if : github.event_name == 'release' && github.event.action == 'created'
288- uses : svenstaro/upload-release-action@1.1.0
288+ uses : svenstaro/upload-release-action@v2
289289 with :
290290 repo_token : ${{ secrets.GITHUB_TOKEN }}
291291 tag : ${{ github.ref }}
0 commit comments