Skip to content

Commit

Permalink
- Updating BuildArtifact.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aiyu-ayaan committed Jun 13, 2024
1 parent 85bd779 commit 600265d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/BuildArtifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,18 @@ jobs:
uses: actions/download-artifact@v2
with:
name: gemini-cli

- name: Create Zip
run: |
v=$(echo ${{ github.ref }} | cut -c 11-)
ls -la
zip -r gemini-cli-$v.zip ./
- name: Upload release asset
env:
GITHUB_TOKEN: ${{ secrets.ACCOUNT_TOKEN }}
uses: softprops/action-gh-release@v1
with:
fail_if_no_release: false
files: dist/gemini-cli
tag_name: ${{ github.ref }}
files: gemini-cli.zip
tag_name: ${{ steps.create_release.outputs.tag_name }}
name: ${{ github.event.inputs.releaseName }}
token: ${{ secrets.ACCOUNT_TOKEN }}

0 comments on commit 600265d

Please sign in to comment.