Skip to content

Commit

Permalink
Update qbot-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Charmve committed Oct 7, 2023
1 parent b5d6e7d commit 9ee5666
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/qbot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
- name: Package
working-directory: .
run: |
tar -zcvf ${release_name}.tar.gz -C ./dist
tar -zcvf ${release_name}.tar.gz ./dist
- name: Upload assets
id: upload-release-asset
Expand Down Expand Up @@ -233,4 +233,15 @@ jobs:
working-directory: .
run: |
mv *.tar.gz *.zip qbot_${{ matrix.os }}_release
tar -zcvf qbot_${{ matrix.os }}_release_${release_name}.tar.gz -C qbot_${{ matrix.os }}_release/*
tar -zcvf qbot_${{ matrix.os }}_release_${release_name}.tar.gz qbot_${{ matrix.os }}_release/*
- name: Upload assets
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: qbot_${{ matrix.os }}_release_${release_name}.tar.gz
asset_name: qbot_${{ matrix.os }}_release_${release_name}.tar.gz
asset_content_type: application/gzip

0 comments on commit 9ee5666

Please sign in to comment.