Skip to content

Commit

Permalink
Rename variable from UBCN to CODENAME in lint workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jan 15, 2023
1 parent 8be4e9d commit 69c9a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Install clang-format
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
UBCN=$(lsb_release --short --codename)
sudo add-apt-repository "deb https://apt.llvm.org/${UBCN}/ llvm-toolchain-${UBCN}-${CLANG_VERSION} main"
CODENAME=$(lsb_release --short --codename)
sudo add-apt-repository "deb https://apt.llvm.org/${CODENAME}/ llvm-toolchain-${CODENAME}-${CLANG_VERSION} main"
sudo apt update
sudo apt install -y clang-format-${CLANG_VERSION}
Expand Down

0 comments on commit 69c9a90

Please sign in to comment.