Skip to content

Commit 63604ad

Browse files
authored
Merge pull request #296 from qzhuyan/ci/william/update-release-workflow
update release workflow
2 parents 8ad53d0 + e5b6b15 commit 63604ad

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ jobs:
111111
- name: build release
112112
if: startsWith(github.ref, 'refs/tags/')
113113
run: |
114-
IMAGE=ghcr.io/emqx/emqx-builder/5.3-5:1.15.7-${{ matrix.otp }}-${{ matrix.os }}
114+
IMAGE=ghcr.io/emqx/emqx-builder/5.3-13:1.15.7-${{ matrix.otp }}-${{ matrix.os }}
115115
docker run -i --rm -v $(pwd):/wd --workdir /wd --platform=linux/${{ matrix.arch }} \
116116
-e BUILD_RELEASE=1 -e QUIC_TLS=${{ matrix.openssl }} \
117117
$IMAGE bash -euc 'git config --global --add safe.directory /wd; make'
118118
119-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
119+
- uses: actions/upload-artifact@v4
120120
if: startsWith(github.ref, 'refs/tags/')
121121
with:
122122
name: quicer-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.otp }}-${{ matrix.openssl }}
@@ -131,16 +131,15 @@ jobs:
131131
- linux
132132
if: startsWith(github.ref, 'refs/tags/')
133133
steps:
134-
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
134+
- uses: actions/download-artifact@v4
135135
with:
136136
pattern: 'quicer-*'
137137
path: packages
138138
merge-multiple: true
139139
- name: Create Release
140-
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # v2.0.5
140+
uses: softprops/action-gh-release@v2
141141
with:
142142
name: quicer ${{ github.ref_name }} Released
143-
body: quicer ${{ github.ref_name }} Released
144143
files: packages/*
145-
draft: false
144+
draft: true
146145
prerelease: false

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ release() {
7575
fi
7676
mkdir -p _packages
7777
TARGET_PKG="_packages/${PKGNAME}"
78-
tar czvf "$TARGET_PKG" -C $(dirname "$TARGET_SO") --exclude include --exclude share --exclude .gitignore .
78+
tar czvf "$TARGET_PKG" -C $(dirname "$TARGET_SO") \
79+
--exclude include --exclude share --exclude .gitignore \
80+
--exclude lib \
81+
.
7982
# use openssl but not sha256sum command because in some macos env it does not exist
8083
if command -v openssl; then
8184
openssl dgst -sha256 "${TARGET_PKG}" | cut -d ' ' -f 2 > "${TARGET_PKG}.sha256"

test/quicer_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3097,7 +3097,7 @@ tc_setopt_global_lb_mode_ifip(_Config) ->
30973097
quicer:close_lib(),
30983098
{ok, _} = quicer:open_lib(),
30993099
?assertEqual(
3100-
{ok, 2},
3100+
{ok, ?QUIC_LOAD_BALANCING_SERVER_ID_FIXED},
31013101
quicer:getopt(quic_global, load_balacing_mode)
31023102
).
31033103

0 commit comments

Comments
 (0)