Skip to content

Commit 7010885

Browse files
authored
build: update linux job
1 parent 7544dac commit 7010885

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,19 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v4
48+
4849
- name: Install Dependencies
49-
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
50+
run: |
51+
sudo apt-get update
52+
sudo apt-get install -y build-essential cmake
53+
5054
- name: Configure and Build
5155
run: |
52-
cmake -B build -S .
53-
cmake --build build --config Release
56+
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
57+
cmake --build build
58+
5459
- name: Upload Artifact (Linux)
5560
uses: actions/upload-artifact@v4
5661
with:
57-
name: FileEncryptor-Linux-x86-64 #By default, ubuntu-latest builds for the x86-64 architecture.
62+
name: FileEncryptor-Linux-x86-64
5863
path: build/bin

0 commit comments

Comments
 (0)