Skip to content

Commit

Permalink
fix: windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Nov 14, 2024
1 parent f6e4876 commit 69c029b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/draft_nightly_nanocl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,11 @@ jobs:
- name: Update draft release
if: steps.release-exists.outcome == 'success' && steps.release-exists.conclusion == 'success'
run: |
gh release delete-asset -y $env:BINARY_NAME-$env:VERSION-$env:CHANNEL $env:BINARY_NAME_$env:VERSION_windows_amd64.tar.gz || true
gh release upload $env:BINARY_NAME-$env:VERSION-$env:CHANNEL release/$env:BINARY_NAME_$env:VERSION_windows_amd64.tar.gz#nanocl_windows_amd64.tar.gz
gh release delete-asset -y `
$env:BINARY_NAME-$env:VERSION-$env:CHANNEL `
$env:BINARY_NAME_$env:VERSION_windows_amd64.tar.gz || exit /b 0
gh release upload `
$env:BINARY_NAME-$env:VERSION-$env:CHANNEL `
release/$env:BINARY_NAME_$env:VERSION_windows_amd64.tar.gz#nanocl_windows_amd64.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}

0 comments on commit 69c029b

Please sign in to comment.