[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 8c110e7 3/5: Fix the lmi directory creation s
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 8c110e7 3/5: Fix the lmi directory creation step in GitHub CI workflow |
Date: |
Mon, 2 Nov 2020 17:01:13 -0500 (EST) |
branch: master
commit 8c110e735915e2e4df952064e1d55223e8532e85
Author: Ilya Sinitsyn <isinitsyn@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix the lmi directory creation step in GitHub CI workflow
Use `|` to execute each line as a separate command.
---
.github/workflows/ci.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index be70606..682b546 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -78,11 +78,11 @@ jobs:
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Create lmi directories
- run: >
+ run: |
for d in /opt/lmi /opt/lmi/print /etc/opt/lmi /srv/cache_for_lmi; do
- sudo mkdir --parents $d;
- sudo --preserve-env chown $NORMAL_UID $d;
- done;
+ sudo mkdir --parents $d
+ sudo --preserve-env chown $NORMAL_UID $d
+ done
mkdir /srv/cache_for_lmi/downloads
mkdir /opt/lmi/src