Skip to content

Commit

Permalink
Update ci.yml (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug authored Sep 18, 2023
1 parent b8a45f6 commit 6a9f4a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ jobs:
- name: Get Release File Name & Upload URL
id: get_release_info
run: |
echo ::set-output name=file_name::${REPOSITORY_NAME##*/}-${TAG_REF_NAME##*/v} # RepositoryName-v1.0.0
value=`cat release_url/release_url.txt`
echo ::set-output name=upload_url::$value
echo "upload_url=$value" >> $GITHUB_OUTPUT
env:
TAG_REF_NAME: ${{ github.ref }}
REPOSITORY_NAME: ${{ github.repository }}
Expand All @@ -83,5 +82,5 @@ jobs:
with:
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: ./bazel-bin/clash/clash
asset_name: ${{ steps.get_release_info.outputs.file_name }}-${{ matrix.platform }}.zip
asset_name: clash-${{ matrix.platform }}
asset_content_type: application/octet-stream

0 comments on commit 6a9f4a6

Please sign in to comment.