Skip to content

Commit efd8437

Browse files
authored
feat: change default version from 3.2 to 3.3 (#141)
change default version from 3.2 to 3.3
1 parent d07c955 commit efd8437

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/functional-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
version: ["4.0", "3.2", "3.1.2"]
29+
version: ["4.0", "3.3", "3.2"]
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout ${{ github.repository }}
@@ -43,7 +43,7 @@ jobs:
4343
test-force:
4444
name: Test force
4545
runs-on: ubuntu-latest
46-
timeout-minutes: 5
46+
timeout-minutes: 15
4747
strategy:
4848
fail-fast: false
4949
matrix:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
version:
1010
description: "GnuCOBOL version."
1111
required: false
12-
default: "3.2"
12+
default: "3.3"
1313
force:
1414
description: |
1515
If "true" it installs cobc even if it is already installed on a runner.

src/install-cobc.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ main() {
2727
sudo apt-get -y install ranger autoconf build-essential
2828

2929
mkdir -p "${bin_path}"
30-
url="https://sourceforge.net/projects/open-cobol/files/gnucobol/${minor_version}/gnucobol-${input_version}.tar.gz"
30+
if [ "${input_version}" = "3.3" ]; then
31+
url="https://ci.appveyor.com/api/projects/GitMensch/gnucobol-3-x/artifacts/gnucobol-3.3-dev.tar.gz?job=Image:%20Ubuntu2204"
32+
else
33+
url="https://sourceforge.net/projects/open-cobol/files/gnucobol/${minor_version}/gnucobol-${input_version}.tar.gz"
34+
fi
3135
log_info "Downloading ${url}"
3236
curl -sLk "${url}" -o "${bin_path}/gnucobol.tar.gz"
3337
tar -xvf "${bin_path}/gnucobol.tar.gz" -C "${bin_path}" --strip-components 1

0 commit comments

Comments
 (0)