Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
Fixes deprecations in build workflow
  • Loading branch information
ad3154 committed Oct 31, 2024
1 parent a8c3ab8 commit 9064496
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
Expand All @@ -17,7 +17,7 @@ jobs:
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release --target package
- name: 'Upload Windows Installer'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Windows Installer'
path: build/_CPack_Packages/win64/NSIS/*.exe
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
Expand All @@ -35,7 +35,7 @@ jobs:
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release --target package
- name: 'Upload OSX Installer'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'OSX dmg package'
path: build/_CPack_Packages/OSX/DragNDrop/*.dmg
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
Expand All @@ -56,7 +56,7 @@ jobs:
cd build
cpack -G DEB
- name: 'Upload Ubuntu 20.04 deb package'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Ubuntu 20.04 deb package'
path: build/_CPack_Packages/Linux/DEB/*.deb
Expand All @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
Expand All @@ -77,7 +77,7 @@ jobs:
cd build
cpack -G DEB
- name: 'Upload Ubuntu 22.04 deb package'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Ubuntu 22.04 deb package'
path: build/_CPack_Packages/Linux/DEB/*.deb
Expand Down

0 comments on commit 9064496

Please sign in to comment.