Skip to content

Commit

Permalink
fix: upgrade upload-artifact from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Feb 4, 2025
1 parent 2bdd9d7 commit 7e43335
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/3.0-macos-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
|| github.event_name == 'push'
|| github.event_name == 'schedule'
run: |
cd TDengine && mkdir debug && cd debug && cmake .. -DBUILD_DEPENDENCY_TESTS=false > /dev/null && make -j12 > /dev/null && sudo make install > /dev/null
cd TDengine && mkdir debug && cd debug && cmake .. -DBUILD_HTTP=false -DWEBSOCKET=true -DBUILD_DEPENDENCY_TESTS=false > /dev/null && make -j12 > /dev/null && sudo make install > /dev/null
if [[ ! -f /usr/local/bin/taosd ]] || [[ ! -f /usr/local/bin/taosadapter ]]
then
echo "TDengine build failure"
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
cp ./TDengine/debug/build/lib/libtaosws.dylib debug/build/lib/
cp ./TDengine/debug/build/lib/libtaos.dylib debug/build/lib/
cd debug
cmake .. -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} -DTOOLS_SANITIZE=true > /dev/null && make -j8 > /dev/null && sudo make install > /dev/null
cmake .. -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} -DTOOLS_SANITIZE=true -DWEBSOCKET=true > /dev/null && make -j8 > /dev/null && sudo make install > /dev/null
#if [[ ! -f /usr/local/taos/bin/taosdump ]] || [[ ! -f /usr/local/taos/bin/taosBenchmark ]]
if [[ ! -f /usr/local/bin/taosBenchmark ]]
then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-taosbenchmark-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
fi
- name: 'Upload taosd logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: log-v3-taosd
path: /var/log/taos/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/3.0-taosbenchmark-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ jobs:
fi
- name: 'Upload taosd logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: log-v3-taosd
path: /var/log/taos/
retention-days: 2

- name: 'Upload taosc logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: log-v3-taosc
path: ~/sim/psim/log
Expand Down

0 comments on commit 7e43335

Please sign in to comment.