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:
parent
fadd3b6e63
commit
3cefa5d78e
|
@ -11,7 +11,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt update && sudo apt install meson libsdl2-dev libpcap-dev libgtk-3-dev
|
run: sudo apt update && sudo apt install meson libsdl2-dev libpcap-dev libgtk-3-dev
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt update && sudo apt install autoconf libglu1-mesa-dev libsdl2-dev libpcap-dev libgtk2.0-dev
|
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/
|
tar cJf DeSmuME.tar.xz DeSmuME/
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: desmume-linux-gtk2-cli-x86_64
|
name: desmume-linux-gtk2-cli-x86_64
|
||||||
path: /tmp/DeSmuME.tar.xz
|
path: /tmp/DeSmuME.tar.xz
|
||||||
|
@ -60,7 +60,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: xcodebuild
|
- name: xcodebuild
|
||||||
run: |
|
run: |
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
7z a DeSmuME.app.zip DeSmuME.app
|
7z a DeSmuME.app.zip DeSmuME.app
|
||||||
|
|
||||||
- name: Upload artifict
|
- name: Upload artifict
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macos
|
name: macos
|
||||||
path: desmume/src/frontend/cocoa/desmume.xcarchive/Products/Applications/DeSmuME.app.zip
|
path: desmume/src/frontend/cocoa/desmume.xcarchive/Products/Applications/DeSmuME.app.zip
|
||||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
name: Build Linux
|
name: Build Linux
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt update && sudo apt install meson libsdl2-dev libpcap-dev
|
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
|
run: ninja -C desmume/src/frontend/interface/build
|
||||||
|
|
||||||
- name: Upload artificat
|
- name: Upload artificat
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: desmume/src/frontend/interface/build/libdesmume.so
|
path: desmume/src/frontend/interface/build/libdesmume.so
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
name: Build MacOS
|
name: Build MacOS
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install MacOS build deps
|
- name: Install MacOS build deps
|
||||||
run: brew install coreutils gcc sdl2 meson glib
|
run: brew install coreutils gcc sdl2 meson glib
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
|
|
||||||
- name: Upload artificat
|
- name: Upload artificat
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macos
|
name: macos
|
||||||
path: desmume/src/frontend/interface/build/libdesmume.dylib
|
path: desmume/src/frontend/interface/build/libdesmume.dylib
|
||||||
|
@ -68,7 +68,7 @@ jobs:
|
||||||
arch: [ 'x64', 'x86' ]
|
arch: [ 'x64', 'x86' ]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Add msbuild to PATH
|
- name: Add msbuild to PATH
|
||||||
uses: microsoft/setup-msbuild@v1.0.2
|
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 }}
|
MSBuild.exe DeSmuME_Interface.vcxproj /p:configuration="Release Fastbuild" /p:Platform=${{ matrix.arch }}
|
||||||
|
|
||||||
- name: Upload artificat
|
- name: Upload artificat
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: win-${{ matrix.arch }}
|
name: win-${{ matrix.arch }}
|
||||||
path: desmume/src/frontend/interface/windows/__bins/*.dll
|
path: desmume/src/frontend/interface/windows/__bins/*.dll
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue