Skip to content

Commit

Permalink
Github Actions: update deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
magiblot committed Oct 23, 2024
1 parent af76e95 commit 44d0a12
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Linux (GCC) (Unity)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt -y install libncursesw5-dev libgpm-dev libgtest-dev
Expand All @@ -24,7 +24,7 @@ jobs:
name: Linux (GCC 5)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -49,7 +49,7 @@ jobs:
name: Linux (Clang)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt -y install libncursesw5-dev
Expand All @@ -69,7 +69,7 @@ jobs:
name: Linux (GCC) (Big Endian)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build in container
uses: uraimo/run-on-arch-action@v2
Expand All @@ -91,7 +91,7 @@ jobs:
name: Windows (MSVC) (Win32)
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Configure CMake
shell: bash
Expand All @@ -110,7 +110,7 @@ jobs:
run: cmake --build . --config Debug --target tvision -- -p:UseMultiToolTask=true -p:CL_MPcount=$(nproc)

- name: Upload Examples
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: examples-x86
path: |
Expand All @@ -119,7 +119,7 @@ jobs:
Release/tvhc.exe
- name: Upload Library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-x86
path: |
Expand All @@ -133,7 +133,7 @@ jobs:
name: Windows (MSVC) (x64)
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Configure CMake
shell: bash
Expand All @@ -152,7 +152,7 @@ jobs:
run: cmake --build . --config Debug --target tvision -- -p:UseMultiToolTask=true -p:CL_MPcount=$(nproc)

- name: Upload Examples
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: examples-x64
path: |
Expand All @@ -161,7 +161,7 @@ jobs:
Release/tvhc.exe
- name: Upload Library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-x64
path: |
Expand All @@ -175,7 +175,7 @@ jobs:
name: Windows (MinGW)
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Configure CMake
shell: bash
Expand All @@ -189,7 +189,7 @@ jobs:
name: Windows (BCC32) (DPMI32)
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Build Tools
shell: bash
Expand All @@ -207,7 +207,7 @@ jobs:
/c/bc45/bin/make.exe -DDOS32
- name: Upload Examples
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: examples-dos32
path: |
Expand All @@ -216,7 +216,7 @@ jobs:
examples/tvhc/tvhc.EXE
- name: Upload Library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-dos32
path: |
Expand All @@ -226,7 +226,7 @@ jobs:
name: MacOS (Clang)
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Configure CMake
shell: bash
Expand Down

0 comments on commit 44d0a12

Please sign in to comment.