Skip to content

Commit d3f8501

Browse files
committed
update workflow
1 parent bcc61a1 commit d3f8501

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/build.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-22.04
1313
name: Ubuntu
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818
- name: Install dependencies
@@ -34,7 +34,7 @@ jobs:
3434
chmod +x linuxdeploy-x86_64.AppImage linuxdeploy-plugin-gtk.sh
3535
./linuxdeploy-x86_64.AppImage --appdir $(pwd)/AppDir --plugin gtk --output appimage
3636
mv ImPlay*.AppImage $(echo ImPlay-*.deb | sed 's/deb/AppImage/')
37-
- uses: actions/upload-artifact@v3
37+
- uses: actions/upload-artifact@v4
3838
with:
3939
name: ImPlay-linux
4040
path: |
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: macos-12
4545
name: macOS
4646
steps:
47-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
4848
with:
4949
fetch-depth: 0
5050
- name: Install dependencies
@@ -60,7 +60,7 @@ jobs:
6060
mkdir build && cd build
6161
cmake -DCMAKE_BUILD_TYPE=RELEASE -DUSE_PATCHED_GLFW=ON -DCREATE_PACKAGE=ON -G Ninja ..
6262
cmake --build . --target package
63-
- uses: actions/upload-artifact@v3
63+
- uses: actions/upload-artifact@v4
6464
with:
6565
name: ImPlay-macOS
6666
path: build/ImPlay-*.dmg
@@ -72,7 +72,7 @@ jobs:
7272
run: |
7373
git config --global core.autocrlf false
7474
git config --global core.eol lf
75-
- uses: actions/checkout@v3
75+
- uses: actions/checkout@v4
7676
with:
7777
fetch-depth: 0
7878
- uses: msys2/setup-msys2@v2
@@ -93,7 +93,7 @@ jobs:
9393
mkdir build && cd build
9494
cmake -DCMAKE_BUILD_TYPE=RELEASE -DUSE_PATCHED_GLFW=ON -DUSE_OPENGL_ES3=ON -DCREATE_PACKAGE=ON -G Ninja ..
9595
cmake --build . --target package
96-
- uses: actions/upload-artifact@v3
96+
- uses: actions/upload-artifact@v4
9797
with:
9898
name: ImPlay-win64
9999
path: |
@@ -104,8 +104,8 @@ jobs:
104104
runs-on: ubuntu-latest
105105
if: ${{ github.ref == 'refs/heads/main' }}
106106
steps:
107-
- uses: actions/checkout@v3
108-
- uses: actions/download-artifact@v3
107+
- uses: actions/checkout@v4
108+
- uses: actions/download-artifact@v4
109109
- run: |
110110
for f in ImPlay-*/*; do
111111
mv "$f" "${f/ImPlay-*-/ImPlay-dev-}"

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
needs: [build]
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/download-artifact@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/download-artifact@v4
1717
- uses: ncipollo/release-action@v1
1818
with:
1919
commit: ${{ github.sha }}

0 commit comments

Comments
 (0)