Skip to content

Commit

Permalink
feat:update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuan520 committed Nov 17, 2024
1 parent e4c471f commit ed0b86b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
cp ./cppnet.tar.gz ../cppnet-${{ matrix.os }}-release.tar.gz
cd ..
- name: Create Demo Release File
if: matrix.os == 'ubuntu-latest'
run: |
cd demo
./build.sh
tar -zcvf ./cppnet-demo-${{ matrix.os }}.tar.gz ./bin
mv ./cppnet-demo-${{ matrix.os }}.tar.gz ../
# - name: Create Demo Release File
# if: matrix.os == 'ubuntu-latest'
# run: |
# cd demo
# ./build.sh
# tar -zcvf ./cppnet-demo-${{ matrix.os }}.tar.gz ./bin/*
# mv ./cppnet-demo-${{ matrix.os }}.tar.gz ../

- name: Unix Release
uses: softprops/action-gh-release@v2 #具体参考https://github.com/softprops/action-gh-release
Expand All @@ -61,10 +61,10 @@ jobs:
cppnet-${{ matrix.os }}-release.tar.gz
LICENSE
- name: Demo Release
uses: softprops/action-gh-release@v2
if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/') # 设置为有tag才进行上传
with:
files: |
cppnet-demo-${{ matrix.os }}.tar.gz
LICENSE
# - name: Demo Release
# uses: softprops/action-gh-release@v2
# if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/') # 设置为有tag才进行上传
# with:
# files: |
# cppnet-demo-${{ matrix.os }}.tar.gz
# LICENSE
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# cppnet
> English version is [here](./README.en.md)
- 一个轻量级 C++ 网络框架, cppweb 2.0 升级版
- 避免了之前 cppweb 单个头文件的臃肿的问题, 并且使用更加友善的使用方式
## Author
Expand Down

0 comments on commit ed0b86b

Please sign in to comment.