Skip to content

Commit 8578bcd

Browse files
committed
Update github actions in build workflows
1 parent 7d085bd commit 8578bcd

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
os: [ubuntu-latest, windows-latest, macos-latest]
2929

3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
3232

3333
- name: Install Linux deps
3434
if: runner.os == 'Linux'
@@ -37,7 +37,7 @@ jobs:
3737
sudo apt install -y xorg-dev
3838
3939
- name: Cache SDL/ImGui deps
40-
uses: actions/cache@v4
40+
uses: actions/cache@v5
4141
with:
4242
path: ${{ github.workspace }}/build/_deps
4343
key: ${{ runner.os }}-deps
@@ -65,7 +65,7 @@ jobs:
6565
run: cmake -E tar "cf" "${{ github.event.repository.name }}.zip" --format=zip ${{ github.event.repository.name }}/
6666

6767
- name: Upload artifact
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@v6
6969
with:
7070
name: ${{ github.event.repository.name }}-${{ runner.os }}
7171
path: ${{ github.workspace }}/build/install/${{ github.event.repository.name }}.zip
@@ -75,7 +75,7 @@ jobs:
7575
runs-on: ubuntu-latest
7676

7777
steps:
78-
- uses: actions/checkout@v4
78+
- uses: actions/checkout@v6
7979

8080
- name: Install Emscripten
8181
run: |
@@ -98,7 +98,7 @@ jobs:
9898
run: cmake -E tar "cf" "${{ github.event.repository.name }}.zip" --format=zip web/
9999

100100
- name: Upload artifact
101-
uses: actions/upload-artifact@v4
101+
uses: actions/upload-artifact@v6
102102
with:
103103
name: ${{ github.event.repository.name }}-web
104104
path: ${{ github.workspace }}/build/${{ github.event.repository.name }}.zip

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@ jobs:
2626
- build
2727

2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 0 # Fetch depth 0 to get all tags and commits to generate release note changelog
3232

3333
- name: Download Windows artifact
34-
uses: actions/download-artifact@v4
34+
uses: actions/download-artifact@v8
3535
with:
3636
name: ${{ github.event.repository.name }}-Windows
3737
path: windows
3838

3939
- name: Download Linux artifact
40-
uses: actions/download-artifact@v4
40+
uses: actions/download-artifact@v8
4141
with:
4242
name: ${{ github.event.repository.name }}-Linux
4343
path: linux
4444

4545
- name: Download macOS artifact
46-
uses: actions/download-artifact@v4
46+
uses: actions/download-artifact@v8
4747
with:
4848
name: ${{ github.event.repository.name }}-macOS
4949
path: macos
@@ -89,19 +89,19 @@ jobs:
8989

9090
steps:
9191
- name: Download web artifact
92-
uses: actions/download-artifact@v4
92+
uses: actions/download-artifact@v8
9393
with:
9494
name: ${{ github.event.repository.name }}-web
9595

9696
- name: Unzip web
9797
run: cmake -E tar "xzf" "${{ github.event.repository.name }}.zip"
9898

9999
- name: Upload raw files for pages
100-
uses: actions/upload-pages-artifact@v3
100+
uses: actions/upload-pages-artifact@v4
101101
with:
102102
path: web
103103

104104
- name: Deploy to GitHub Pages
105105
id: deployment
106-
# Will automatically fetch the artifact "github-pages" uploaded using actions/upload-pages-artifact@v3
106+
# Will automatically fetch the artifact "github-pages" uploaded using actions/upload-pages-artifact
107107
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)