Skip to content

Commit

Permalink
CI: modify build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Dec 24, 2024
1 parent b0e9245 commit 52c345f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,16 @@ jobs:
echo "[:us: Change log](https://github.com/KangLin/SerialPortAssistant/blob/${{env.SerialPortAssistant_VERSION}}/ChangeLog.md)" >> ${{github.workspace}}/Release.md
echo "" >> ${{github.workspace}}/Release.md
echo "File checksum:" >> ${{github.workspace}}/Release.md
echo "|File|Checksum(md5)|" >> ${{github.workspace}}/Release.md
echo "| :- | :- |" >> ${{github.workspace}}/Release.md
cd ${{ env.artifact_path }}
for file in *
do
echo "$file"
if [ -f $file ]; then
if [ "${file##*.}" != "xml" ] && [ "${file##*.}" != "json" ]; then
md5sum $file > $file.md5sum
cat $file.md5sum >> ${{github.workspace}}/Release.md
awk '{print "|", $2, "|", $1, "|"}' ${file}.md5sum >> ${{github.workspace}}/Release.md
fi
else
rm -fr $file
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt upgrade
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y -q cmake build-essential xvfb xpra \
libglu1-mesa-dev libpulse-mainloop-glib0 \
cmake debhelper fakeroot \
qt6-tools-dev qt6-tools-dev-tools qt6-base-dev qt6-base-dev-tools \
qt6-l10n-tools qt6-translations-l10n qt6-scxml-dev \
qt6-webengine-dev qt6-webengine-dev-tools libqt6serialport6-dev \
qt6-webengine-dev libqt6serialport6-dev \
libxkbcommon-dev libxkbcommon-x11-dev xorg-dev libx11-xcb-dev \
libx11-dev libxfixes-dev \
libcmark-dev cmark
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Serial port assistant change log

Author: Kang Lin <kl222@126.com>

--------------------------------------------------------------------------------

- Version: v0.5.28
- Use [RabbitCommon v2.3.1](https://github.com/KangLin/RabbitCommon/releases/tag/v2.3.1)

Expand Down
6 changes: 6 additions & 0 deletions ChangeLog_zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 串口助手修改日志

作者:康林 <kl222@126.com>

--------------------------------------------------------------------------------

- 版本: v0.5.28
- 使用 [RabbitCommon v2.3.1](https://github.com/KangLin/RabbitCommon/releases/tag/v2.3.1)

Expand Down

0 comments on commit 52c345f

Please sign in to comment.