Skip to content

Commit

Permalink
fix github action :(
Browse files Browse the repository at this point in the history
  • Loading branch information
mulle-nat committed Jan 13, 2024
1 parent 63570fa commit 5a9dacf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/apt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install sudo
if: ${{ env.ACT }}
run: |
apt-get update
apt-get install sudo
- name: Install wget
run: sudo apt-get install wget
run: |
apt-get update
apt-get install -y wget sudo
- name: Set MULLE_HOSTNAME
run: |
Expand Down
8 changes: 6 additions & 2 deletions bin/apt-installer
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,22 @@ apt-get -y install foundation-developer || exit 1
case "${VERSION_CODENAME}" in
noble|mantic|lunar|kinetic|bookworm)
codename="bookworm"
version="${MULLE_CLANG_VERSION}"
;;

jammy|impish|groovy|focal|bullseye)
codename="bullseye"
version="14.0.6.2"
;;

eoan|disco|cosmic|bionic|buster)
codename="buster"
version="14.0.6.2"
;;

artful|zesty|yakkety|xenial|stretch)
codename="stretch"
version="14.0.6.2"
;;

*)
Expand All @@ -107,9 +111,9 @@ esac

# https://github.com/Codeon-GmbH/mulle-clang-project/releases/download/11.0.0.0-RC2/mulle-clang-11.0.0.0-buster-amd64.deb
architecture="${MULLE_CLANG_ARCHITECTURE:-`dpkg --print-architecture`}"
filename="mulle-clang-${MULLE_CLANG_VERSION}-${codename}-${architecture}.deb"
filename="mulle-clang-${version}-${codename}-${architecture}.deb"

url="https://github.com/mulle-cc/mulle-clang-project/releases/download/${MULLE_CLANG_VERSION}"
url="https://github.com/mulle-cc/mulle-clang-project/releases/download/${version}"
url="${url}/${filename}"

echo "Downloading ${url} ..." >&2
Expand Down

0 comments on commit 5a9dacf

Please sign in to comment.