Skip to content

Commit

Permalink
chore(ci): remove upload cli pkgs temp
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream authored and Red-Asuka committed Sep 30, 2024
1 parent 0a6d8e6 commit 3b3258c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 3b3258c

Please sign in to comment.