Skip to content

Commit 762ce81

Browse files
committed
build: update actions
1 parent 0529080 commit 762ce81

1 file changed

Lines changed: 17 additions & 19 deletions

File tree

.github/workflows/ExportGodot.yaml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
workflow_dispatch:
66
push:
7-
branches:
7+
branches:
88
- release
99
- staging
1010

@@ -16,21 +16,20 @@ env:
1616
git_branch: ${{ github.ref_name }}
1717

1818
jobs:
19-
2019
export-linux:
2120
name: Linux Export
2221
runs-on: ubuntu-latest
2322
container: barichello/godot-ci:3.4.4
2423
steps:
2524
- name: Checkout
26-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2726
with:
2827
lfs: true
2928
- run: ./run prepare:ci
3029
- run: ./run export:linux
3130
- run: ./run push:linux
32-
- name: Artifact
33-
uses: actions/upload-artifact@v1
31+
- name: Upload Linux Artifact
32+
uses: actions/upload-artifact@v4
3433
with:
3534
name: linux
3635
path: build/linux
@@ -49,14 +48,14 @@ jobs:
4948
container: barichello/godot-ci:3.4.4
5049
steps:
5150
- name: Checkout
52-
uses: actions/checkout@v2
51+
uses: actions/checkout@v4
5352
with:
5453
lfs: true
5554
- run: ./run prepare:ci
5655
- run: ./run export:windows
5756
- run: ./run push:windows
5857
- name: Artifact
59-
uses: actions/upload-artifact@v1
58+
uses: actions/upload-artifact@v4
6059
with:
6160
name: windows
6261
path: build/windows
@@ -75,44 +74,43 @@ jobs:
7574
container: barichello/godot-ci:3.4.4
7675
steps:
7776
- name: Checkout
78-
uses: actions/checkout@v2
77+
uses: actions/checkout@v4
7978
with:
8079
lfs: true
8180
- run: ./run prepare:ci
8281
- run: ./run export:osx
8382
- run: ./run push:osx
8483
- name: Artifact
85-
uses: actions/upload-artifact@v1
84+
uses: actions/upload-artifact@v4
8685
with:
87-
name: osx
86+
name: macos-build
8887
path: build/osx
89-
- name: Releases
88+
retention-days: 30
89+
- name: Upload macOS Release
9090
uses: svenstaro/upload-release-action@v2
9191
with:
9292
repo_token: ${{ secrets.GITHUB_TOKEN }}
9393
file: build/osx/*
9494
tag: osx
9595
file_glob: true
9696
overwrite: true
97-
9897

9998
export-web:
10099
name: Web Export
101100
runs-on: ubuntu-latest
102101
container: barichello/godot-ci:3.4.4
103102
steps:
104103
- name: Checkout
105-
uses: actions/checkout@v2
104+
uses: actions/checkout@v4
106105
with:
107106
lfs: true
108107
- run: ./run prepare:ci
109-
#- if: ${{ github.ref == 'refs/heads/release' }}
110108
- run: ./run export:web
111109
- run: ./run push:web
112110
- name: Deploy to GitHub Pages 🚀
113-
uses: JamesIves/github-pages-deploy-action@releases/v3
111+
uses: JamesIves/github-pages-deploy-action@v4
114112
with:
115-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116-
BRANCH: gh-pages
117-
FOLDER: build/web
118-
clean: false
113+
token: ${{ secrets.GITHUB_TOKEN }}
114+
branch: gh-pages
115+
folder: build/web
116+
clean: false

0 commit comments

Comments
 (0)