Skip to content

Commit f8e069a

Browse files
authored
Add versions to the tools (#125)
1 parent 432221e commit f8e069a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ runs:
4141
BUILD_ESSENTIAL_VERSION: 12.9ubuntu3
4242
run: |
4343
sudo apt-get update
44-
sudo apt-get -y install curl tar libncurses5-dev libgmp-dev libdb-dev
44+
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
4545
sudo apt-get -y autoremove
46-
sudo apt-get -y install iproute2
46+
sudo apt-get -y install iproute2=$IPROUTE2_VERSION
4747
4848
# download and install open-cobol for depencies (libcob >= 4.0)
49-
sudo apt-get -y install ranger autoconf build-essential
49+
sudo apt-get -y install ranger=$RANGER_VERSION autoconf=$AUTOCONF_VERSION build-essential=$BUILD_ESSENTIAL_VERSION
5050
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
5151
cd gnucobol-"${{ inputs.version }}" && ./configure --prefix=/usr && sudo make && sudo make install && sudo ldconfig && cd /tmp/ && sudo rm -rf ./*
5252
sudo apt-get -y --purge autoremove

0 commit comments

Comments
 (0)