Skip to content

Commit

Permalink
Merge pull request #313 from qzhuyan/ci/william/release-amazon-linux2
Browse files Browse the repository at this point in the history
ci(release): fix emqx Amazon Linux 2
  • Loading branch information
qzhuyan authored Oct 21, 2024
2 parents d22aa7b + 682837e commit 1e762a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ jobs:
- amzn2
- el9
- el8
exclude:
- os: amzn2
openssl: openssl3
runs-on: ubuntu-latest

steps:
Expand All @@ -118,7 +115,10 @@ jobs:
IMAGE=ghcr.io/emqx/emqx-builder/5.3-13:1.15.7-${{ matrix.otp }}-${{ matrix.os }}
docker run -i --rm -v $(pwd):/wd --workdir /wd --platform=linux/${{ matrix.arch }} \
-e BUILD_RELEASE=1 -e QUICER_TLS_VER=${{ matrix.openssl }} \
$IMAGE bash -euc 'git config --global --add safe.directory /wd; which yum && yum install -y perl-IPC-Cmd; make'
$IMAGE bash -euc 'git config --global --add safe.directory /wd; \
grep -q "\"Amazon Linux 2\"" /etc/os-release && alternatives --set python /usr/bin/python2; \
which yum && yum install -y perl-IPC-Cmd; \
make'
- uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 1e762a5

Please sign in to comment.