mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-07 00:06:22 +00:00
run ci scripts explicitly with sudo
This commit is contained in:
10
.github/workflows/build-linux.yml
vendored
10
.github/workflows/build-linux.yml
vendored
@@ -12,19 +12,19 @@ jobs:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: sudo ./scripts/debian/1-install-deps.sh
|
||||
run: sudo bash ./scripts/debian/1-install-deps.sh
|
||||
|
||||
- name: Create Build Environment
|
||||
working-directory: ${{github.workspace}}/build-linux
|
||||
run: ./scripts/debian/2-configure.sh
|
||||
run: bash ./scripts/debian/2-configure.sh
|
||||
|
||||
- name: Build Server
|
||||
working-directory: ${{github.workspace}}/build-linux
|
||||
run: ./scripts/debian/3-build.sh
|
||||
run: bash ./scripts/debian/3-build.sh
|
||||
|
||||
- name: Build Tests
|
||||
working-directory: ${{github.workspace}}/build-linux
|
||||
run: ./scripts/debian/3-build-tests.sh
|
||||
run: bash ./scripts/debian/3-build-tests.sh
|
||||
|
||||
- name: Archive server artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
path: ${{github.workspace}}
|
||||
|
||||
- name: Install Runtime Dependencies
|
||||
run: sudo ./scripts/debian/4-install-runtime-deps.sh
|
||||
run: sudo bash ./scripts/debian/4-install-runtime-deps.sh
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}
|
||||
|
||||
6
.github/workflows/release-build.yml
vendored
6
.github/workflows/release-build.yml
vendored
@@ -40,15 +40,15 @@ jobs:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: sudo ./scripts/debian/1-install-deps.sh
|
||||
run: sudo bash ./scripts/debian/1-install-deps.sh
|
||||
|
||||
- name: Create Build Environment
|
||||
working-directory: ${{github.workspace}}/build-linux
|
||||
run: ./scripts/debian/2-configure.sh
|
||||
run: bash ./scripts/debian/2-configure.sh
|
||||
|
||||
- name: Build Server
|
||||
working-directory: ${{github.workspace}}/build-linux
|
||||
run: ./scripts/debian/3-build.sh
|
||||
run: bash ./scripts/debian/3-build.sh
|
||||
|
||||
- name: Archive server artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
Reference in New Issue
Block a user