From 3b3258ccfcecb7b4d1e90c85b7d2a9ad2e6e4bdf Mon Sep 17 00:00:00 2001 From: YuShifan <894402575bt@gmail.com> Date: Thu, 26 Sep 2024 15:41:05 +0800 Subject: [PATCH] chore(ci): remove upload cli pkgs temp --- .github/workflows/build_cli.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_cli.yaml b/.github/workflows/build_cli.yaml index c8c2bf3f5..26d733ae9 100644 --- a/.github/workflows/build_cli.yaml +++ b/.github/workflows/build_cli.yaml @@ -24,23 +24,23 @@ jobs: npm install -g pkg pkg package.json - - uses: actions/upload-artifact@v2 - with: - name: cli - path: cli/release + # - uses: actions/upload-artifact@v3 + # with: + # name: cli + # path: cli/release - - name: upload release asset - if: github.event_name == 'release' - run: | - cd cli/release - for var in $(ls); do - $GITHUB_WORKSPACE/.github/workflows/upload_github_release_asset.sh \ - owner=${{ github.repository_owner }} \ - repo=mqttx \ - tag=$(echo ${{ github.ref }} | sed -r "s ^refs/heads/|^refs/tags/(.*) \1 g") \ - filename=$var \ - github_api_token=$(echo ${{ secrets.GITHUB_TOKEN }}) - done + # - name: upload release asset + # if: github.event_name == 'release' + # run: | + # cd cli/release + # for var in $(ls); do + # $GITHUB_WORKSPACE/.github/workflows/upload_github_release_asset.sh \ + # owner=${{ github.repository_owner }} \ + # repo=mqttx \ + # tag=$(echo ${{ github.ref }} | sed -r "s ^refs/heads/|^refs/tags/(.*) \1 g") \ + # filename=$var \ + # github_api_token=$(echo ${{ secrets.GITHUB_TOKEN }}) + # done publish_docker: if: github.event_name == 'release'