aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAmmar Faizi <ammarfaizi2@gmail.com>2021-09-11 14:00:12 +0700
committerAmmar Faizi <ammarfaizi2@gmail.com>2021-09-11 14:16:56 +0700
commitcb57034d2ff203cc5dbfd91ac9f0f6b0c8a511bf (patch)
treedc2f3d1e2760b3138ac80f0d2a9838ababd51fbf /.github
parent17d25f4c73b89dfc722a367914776577e266638c (diff)
downloadliburing-cb57034d2ff203cc5dbfd91ac9f0f6b0c8a511bf.tar.gz
.github/workflows: fix apt warning
Using `apt` gives the following warning: ``` WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ``` Fix this by using `apt-get` instead of `apt`. On Dec 30 '17 at 15:15, dessert wrote: > apt is for the terminal and gives beautiful output while apt-get and > apt-cache are for scripts and give stable, parsable output. > Link: https://askubuntu.com/a/990838/1038828 Signed-off-by: Ammar Faizi <ammarfaizi2@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_with_clang.yml4
-rw-r--r--.github/workflows/build_with_gcc.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build_with_clang.yml b/.github/workflows/build_with_clang.yml
index 28b0e08..3aca007 100644
--- a/.github/workflows/build_with_clang.yml
+++ b/.github/workflows/build_with_clang.yml
@@ -5,7 +5,7 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
-
+
jobs:
main:
name: Build with Clang
@@ -18,7 +18,7 @@ jobs:
- name: Install Toolchains
run: |
- sudo apt install -y man git clang make && \
+ sudo apt-get install -y man git clang make && \
git --version && \
clang --version && \
clang++ --version && \
diff --git a/.github/workflows/build_with_gcc.yml b/.github/workflows/build_with_gcc.yml
index 63a99ce..7c2e103 100644
--- a/.github/workflows/build_with_gcc.yml
+++ b/.github/workflows/build_with_gcc.yml
@@ -5,7 +5,7 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
-
+
jobs:
main:
name: Build with GCC
@@ -18,7 +18,7 @@ jobs:
- name: Install Toolchains
run: |
- sudo apt install -y man git gcc g++ make && \
+ sudo apt-get install -y man git gcc g++ make && \
git --version && \
gcc --version && \
g++ --version && \