Skip to content

Commit

Permalink
Add versions to the tools (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabasoad authored Nov 25, 2022
1 parent 432221e commit f8e069a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ runs:
BUILD_ESSENTIAL_VERSION: 12.9ubuntu3
run: |
sudo apt-get update
sudo apt-get -y install curl tar libncurses5-dev libgmp-dev libdb-dev
sudo apt-get -y install curl=$CURL_VERSION tar=$TAR_VERSION libncurses5-dev=$LIBNCURSES5_DEV_VERSION libgmp-dev=$LIBGMP_DEV_VERSION libdb-dev=$LIBDB_DEV_VERSION
sudo apt-get -y autoremove
sudo apt-get -y install iproute2
sudo apt-get -y install iproute2=$IPROUTE2_VERSION
# download and install open-cobol for depencies (libcob >= 4.0)
sudo apt-get -y install ranger autoconf build-essential
sudo apt-get -y install ranger=$RANGER_VERSION autoconf=$AUTOCONF_VERSION build-essential=$BUILD_ESSENTIAL_VERSION
curl -sLk https://sourceforge.net/projects/open-cobol/files/gnu-cobol/"$(echo "${{ inputs.version }}" | cut -b1- | cut -b-3)"/gnucobol-"${{ inputs.version }}".tar.gz | tar xz
cd gnucobol-"${{ inputs.version }}" && ./configure --prefix=/usr && sudo make && sudo make install && sudo ldconfig && cd /tmp/ && sudo rm -rf ./*
sudo apt-get -y --purge autoremove
Expand Down

0 comments on commit f8e069a

Please sign in to comment.