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 86e827b commit 08b2c43
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/qbot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ jobs:
cd $GITHUB_WORKSPACE/investool
sed -i "s/env = \"localhost\"/env = \"prod\"/g" config.toml && tar czvf investool_app_win.tar.gz investool_app_win config.toml
- 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: $GITHUB_WORKSPACE/investool/investool_app_mac.tar.gz
asset_name: investool_app_mac.tar.gz
asset_content_type: application/gzip
# - 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: $GITHUB_WORKSPACE/investool/investool_app_mac.tar.gz
# asset_name: investool_app_mac.tar.gz
# asset_content_type: application/gzip

# - name: SCP Files
# uses: appleboy/scp-action@master
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
- name: Package
working-directory: .
run: |
tar -zcvf ${release_name}.tar.gz -C qbot/dist *
tar -zcvf ${release_name}.tar.gz -C ./dist *
- name: Upload assets
id: upload-release-asset
Expand Down

0 comments on commit 08b2c43

Please sign in to comment.