Skip to content

Commit

Permalink
Bump actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatalov committed Mar 3, 2024
1 parent 85bdb9c commit 30a5a66
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
sudo apt install cppcheck
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: cppcheck
run: cppcheck --std=c++17 src/
Expand All @@ -38,7 +38,7 @@ jobs:

steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: clang-format
run: find src -type f -name \*.cc -o -name \*.h | xargs clang-format --dry-run --Werror
Expand All @@ -50,7 +50,7 @@ jobs:

steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3
Expand All @@ -60,7 +60,7 @@ jobs:
cache: gradle

- name: Cache cmake build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: os/android/app/.cxx
key: android-cmake-v1
Expand All @@ -81,7 +81,7 @@ jobs:
./gradlew assembleDebug
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fallout-ce-debug.apk
path: os/android/app/build/outputs/apk/debug/app-debug.apk
Expand All @@ -94,10 +94,10 @@ jobs:

steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache cmake build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: build
key: ios-cmake-v2
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
cpack -C RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fallout-ce.ipa
path: build/fallout-ce.ipa
Expand All @@ -148,7 +148,7 @@ jobs:

steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Dependencies (x86)
if: matrix.arch == 'x86'
Expand All @@ -165,7 +165,7 @@ jobs:
sudo apt install libsdl2-dev zlib1g-dev
- name: Cache cmake build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: build
key: linux-${{ matrix.arch }}-cmake-v1
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
# EOL
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fallout-ce-linux-${{ matrix.arch }}
path: build/fallout-ce
Expand All @@ -208,10 +208,10 @@ jobs:

steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache cmake build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: build
key: macos-cmake-v4
Expand All @@ -238,7 +238,7 @@ jobs:
cpack -C RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fallout-ce-macos.dmg
path: build/Fallout Community Edition.dmg
Expand All @@ -260,10 +260,10 @@ jobs:

steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache cmake build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: build
key: windows-${{ matrix.arch }}-cmake-v1
Expand All @@ -284,7 +284,7 @@ jobs:
# EOL
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fallout-ce-windows-${{ matrix.arch }}
path: build/RelWithDebInfo/fallout-ce.exe
Expand Down

0 comments on commit 30a5a66

Please sign in to comment.