Skip to content

Commit b3aca61

Browse files
authored
Update CI (#25)
Use ubuntu-24.04 instead of the deprecated ubuntu-20.04 and update all Github actions. Installs OpenSSL 1.1.1 required by OTP 23. Signed-off-by: Björn Svensson <[email protected]>
1 parent ece87ff commit b3aca61

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,25 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
8-
7+
runs-on: ubuntu-24.04
98
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/cache@v3
9+
- uses: actions/checkout@v4
10+
- name: Install OpenSSL 1.1.1 (for OTP23/24)
11+
run: |
12+
curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb
13+
curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb
14+
curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2.24_amd64.deb
15+
sudo dpkg -i openssl_1.1.1f-1ubuntu2.24_amd64.deb \
16+
libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb \
17+
libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb
18+
- uses: actions/cache@v4
1219
with:
1320
path: |
1421
~/erlide_tools
1522
~/.kerl
1623
key: ${{ runner.os }}-otp-${{ hashFiles('build_utils.sh') }}
1724
- name: Set up JDK 1.8
18-
uses: actions/setup-java@v3
25+
uses: actions/setup-java@v4
1926
with:
2027
java-version: '8'
2128
distribution: 'zulu'

0 commit comments

Comments
 (0)