]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: use apt-get instead of apt for
authorJo Zzsi <jozzsicsataban@gmail.com>
Thu, 24 Oct 2024 22:39:14 +0000 (18:39 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Thu, 24 Oct 2024 23:06:02 +0000 (19:06 -0400)
This resolves a warning from apt and provides greater compatibility.

.github/workflows/codeql.yml
.github/workflows/integration.yml
.github/workflows/publish.yml
.github/workflows/release.yml

index 9839ad0be25a1fc707dcb006c2832cc6f83bbbbd..e502104ca43ffba8cff9161ed07eefd8464d092a 100644 (file)
@@ -47,8 +47,8 @@ jobs:
 
       - name: Install dependencies
         run: |
-          sudo apt -y update
-          sudo apt -y install asciidoc gcc libkmod-dev libsystemd-dev pkg-config
+          sudo apt-get -y update
+          sudo apt-get -y install asciidoc gcc libkmod-dev libsystemd-dev pkg-config
 
       - name: Autobuild
         uses: github/codeql-action/autobuild@v3
index 9f6dc31222d6ab1a76e61aadd77d6520ed5d7f1a..7e1602e6515ede862eed00ddda5eba5e2630c86c 100644 (file)
@@ -56,7 +56,7 @@ jobs:
           uses: actions/checkout@v4
         - run: |
               sudo apt-get update
-              sudo apt -y install shellcheck shfmt
+              sudo apt-get -y install shellcheck shfmt
               make syncheck
 
     extended:
index ea451bf2a826a4ee0ada59699f8084f3d87cbcb9..25082d8fe133c34c2645ca346aaaf5d001b9ff20 100644 (file)
@@ -40,8 +40,8 @@ jobs:
         node-version: '18'
     - name: Install dependencies
       run: |
-        sudo apt -y update
-        sudo apt -y install make asciidoc
+        sudo apt-get -y update
+        sudo apt-get -y install make asciidoc
     - name: Install Antora
       run: npm i antora
     - name: Generate Site
index 2ef55bae22e26f94117bb53549f24f5b01bd1c7e..ee768658adef54c13a66d6a2b6812adf3d5adc41 100644 (file)
@@ -24,8 +24,8 @@ jobs:
 
       - name: Install dependencies
         run: |
-          sudo apt -y update
-          sudo apt -y install asciidoc
+          sudo apt-get -y update
+          sudo apt-get -y install asciidoc
 
       - name: Build
         run: bash ${GITHUB_WORKSPACE}/tools/release.sh ${{ inputs.tag }}