Skip to content

Commit 9c03f98

Browse files
committed
Update ci workflow v5
1 parent 247a268 commit 9c03f98

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ jobs:
132132
VERSION=${GITHUB_REF#refs/tags/}
133133
FILENAME=dubboctl-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}
134134
if [ "${{ matrix.goos }}" = "windows" ]; then
135-
zip -j ${FILENAME}.zip build/dubboctl
135+
zip -j ${FILENAME}.zip build/dubboctl/*
136136
echo "name=${FILENAME}.zip" >> $GITHUB_OUTPUT
137137
else
138-
tar -czvf ${FILENAME}.tar.gz -C build/dubboctl .
138+
tar -czvf ${FILENAME}.tar.gz -C build/dubboctl/* .
139139
echo "name=${FILENAME}.tar.gz" >> $GITHUB_OUTPUT
140140
fi
141141
@@ -145,10 +145,10 @@ jobs:
145145
VERSION=${GITHUB_REF#refs/tags/}
146146
FILENAME=dubbo-cp-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}
147147
if [ "${{ matrix.goos }}" = "windows" ]; then
148-
zip -j ${FILENAME}.zip build/dubbo-cp
148+
zip -j ${FILENAME}.zip build/dubbo-cp/*
149149
echo "name=${FILENAME}.zip" >> $GITHUB_OUTPUT
150150
else
151-
tar -czvf ${FILENAME}.tar.gz -C build/dubbo-cp .
151+
tar -czvf ${FILENAME}.tar.gz -C build/dubbo-cp/* .
152152
echo "name=${FILENAME}.tar.gz" >> $GITHUB_OUTPUT
153153
fi
154154

0 commit comments

Comments
 (0)