mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-05 16:12:27 +00:00
Merge pull request #26 from Valorith/copilot/fix-bash-shell-error
Fix Linux build failure: Add shell: bash to all run steps in release workflow
This commit is contained in:
commit
df43afeeab
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@ -22,6 +22,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Mark workspace safe
|
- name: Mark workspace safe
|
||||||
|
shell: bash
|
||||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
|
||||||
- name: Setup ccache
|
- name: Setup ccache
|
||||||
@ -30,11 +31,13 @@ jobs:
|
|||||||
key: ${{ runner.os }}-release-ccache-${{ hashFiles('.github/workflows/release.yaml') }}
|
key: ${{ runner.os }}-release-ccache-${{ hashFiles('.github/workflows/release.yaml') }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq build-essential ninja-build ccache uuid-dev
|
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq build-essential ninja-build ccache uuid-dev
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B build -G Ninja \
|
cmake -S . -B build -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
@ -46,9 +49,11 @@ jobs:
|
|||||||
-DEQEMU_BUILD_CLIENT_FILES=ON
|
-DEQEMU_BUILD_CLIENT_FILES=ON
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
shell: bash
|
||||||
run: cmake --build build --parallel
|
run: cmake --build build --parallel
|
||||||
|
|
||||||
- name: Package binaries
|
- name: Package binaries
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd build/bin
|
cd build/bin
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user