Skip to content

Commit

Permalink
run ci scripts explicitly with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
lionkor committed Dec 4, 2023
1 parent 0b199d8 commit 30f69c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30f69c9

Please sign in to comment.