mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
revert "update linux and windows workflows to run on pr open, reopen, review submit"
This reverts commit 23e9941704af79d4d1497a74702437eb057ace2f.
This commit is contained in:
parent
c4c3b03b7a
commit
c6c2efb0b1
7
.github/workflows/cmake-linux.yml
vendored
7
.github/workflows/cmake-linux.yml
vendored
@ -1,11 +1,6 @@
|
|||||||
name: CMake Linux Build
|
name: CMake Linux Build
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, reopened]
|
|
||||||
pull_request_review:
|
|
||||||
types: [submitted]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
|
16
.github/workflows/cmake-windows.yml
vendored
16
.github/workflows/cmake-windows.yml
vendored
@ -1,11 +1,6 @@
|
|||||||
name: CMake Windows Build
|
name: CMake Windows Build
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, reopened]
|
|
||||||
pull_request_review:
|
|
||||||
types: [submitted]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
@ -17,16 +12,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: 'recursive'
|
||||||
|
|
||||||
- name: Restore artifacts, or run vcpkg, build and cache artifacts
|
- name: Restore artifacts, or run vcpkg, build and cache artifacts
|
||||||
uses: lukka/run-vcpkg@v7
|
uses: lukka/run-vcpkg@v7
|
||||||
id: runvcpkg
|
id: runvcpkg
|
||||||
with:
|
with:
|
||||||
vcpkgArguments: "lua zlib rapidjson openssl websocketpp curl"
|
vcpkgArguments: 'lua zlib rapidjson openssl websocketpp curl'
|
||||||
vcpkgDirectory: "${{ runner.workspace }}/b/vcpkg"
|
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
|
||||||
vcpkgGitCommitId: "06b5f4a769d848d1a20fa0acd556019728b56273"
|
vcpkgGitCommitId: "06b5f4a769d848d1a20fa0acd556019728b56273"
|
||||||
vcpkgTriplet: "x64-windows-static"
|
vcpkgTriplet: 'x64-windows-static'
|
||||||
|
|
||||||
- name: Create Build Environment
|
- name: Create Build Environment
|
||||||
run: cmake -E make_directory ${{github.workspace}}/build-windows
|
run: cmake -E make_directory ${{github.workspace}}/build-windows
|
||||||
@ -60,3 +55,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: BeamMP-Server-debug.exe
|
name: BeamMP-Server-debug.exe
|
||||||
path: ${{github.workspace}}/build-windows/Debug/BeamMP-Server.exe
|
path: ${{github.workspace}}/build-windows/Debug/BeamMP-Server.exe
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user