Update deprecated GitHub actions v2 (#666)

* Windows CI: Update deprecated github actions

* build_interface.yml: Update actions

* release_tarball.yml: Update checkout action

* build.yml: Update actions
This commit is contained in:
SimonAfek 2023-05-20 17:33:23 +02:00 committed by GitHub
parent fadd3b6e63
commit 3cefa5d78e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View File

@ -11,7 +11,7 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: install dependencies
run: sudo apt update && sudo apt install meson libsdl2-dev libpcap-dev libgtk-3-dev
@ -30,7 +30,7 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: install dependencies
run: sudo apt update && sudo apt install autoconf libglu1-mesa-dev libsdl2-dev libpcap-dev libgtk2.0-dev
@ -49,7 +49,7 @@ jobs:
tar cJf DeSmuME.tar.xz DeSmuME/
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: desmume-linux-gtk2-cli-x86_64
path: /tmp/DeSmuME.tar.xz
@ -60,7 +60,7 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: xcodebuild
run: |
@ -73,7 +73,7 @@ jobs:
7z a DeSmuME.app.zip DeSmuME.app
- name: Upload artifict
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: macos
path: desmume/src/frontend/cocoa/desmume.xcarchive/Products/Applications/DeSmuME.app.zip

View File

@ -10,7 +10,7 @@ jobs:
name: Build Linux
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update && sudo apt install meson libsdl2-dev libpcap-dev
@ -24,7 +24,7 @@ jobs:
run: ninja -C desmume/src/frontend/interface/build
- name: Upload artificat
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux
path: desmume/src/frontend/interface/build/libdesmume.so
@ -34,7 +34,7 @@ jobs:
name: Build MacOS
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install MacOS build deps
run: brew install coreutils gcc sdl2 meson glib
@ -54,7 +54,7 @@ jobs:
CXX: clang++
- name: Upload artificat
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: macos
path: desmume/src/frontend/interface/build/libdesmume.dylib
@ -68,7 +68,7 @@ jobs:
arch: [ 'x64', 'x86' ]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
@ -79,7 +79,7 @@ jobs:
MSBuild.exe DeSmuME_Interface.vcxproj /p:configuration="Release Fastbuild" /p:Platform=${{ matrix.arch }}
- name: Upload artificat
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: win-${{ matrix.arch }}
path: desmume/src/frontend/interface/windows/__bins/*.dll

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive