Skip to content

Commit

Permalink
Update oc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wukongdaily authored Dec 13, 2024
1 parent 8f16755 commit 06c88ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
id: extract_version
run: |
first_line=$(head -n 1 OpenClash/master/version)
echo "::set-output name=version::$first_line"
echo "version=$first_line" >> $GITHUB_ENV
second_line=$(sed -n '2p' OpenClash/master/version)
echo "::set-output name=svg::$second_line"
echo "svg=$second_line" >> $GITHUB_ENV
- name: Create Meta directory for git
run: mkdir Meta
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
tag_name: ${{ steps.extract_version.outputs.version }}
target_commitish: ${{ github.ref_name }}
prerelease: false
body: "![Github](https://img.shields.io/badge/OpenClash.run-123456?logo=github&logoColor=fff&labelColor=green&style=for-the-badge) [![Github](https://img.shields.io/badge/国内加速站下载-FC7C0D?logo=github&logoColor=fff&labelColor=000&style=for-the-badge)](https://wkdaily.cpolar.top/archives/1) ![GitHub Downloads (all assets, specific tag)](https://img.shields.io/github/downloads/wukongdaily/RunFilesBuilder/${{ steps.extract_version.outputs.version }}/total?style=for-the-badge&labelColor=black&color=%2325c2a0)"
body: "![Github](https://img.shields.io/badge/OpenClash.run-123456?logo=github&logoColor=fff&labelColor=red&style=for-the-badge) [![Github](https://img.shields.io/badge/国内加速站下载-FC7C0D?logo=github&logoColor=fff&labelColor=000&style=for-the-badge)](https://wkdaily.cpolar.top/archives/1) ![GitHub Downloads (all assets, specific tag)](https://img.shields.io/github/downloads/wukongdaily/RunFilesBuilder/${{ steps.extract_version.outputs.version }}/total?style=for-the-badge&labelColor=black&color=%2325c2a0)"

- name: Upload run files as release assets
uses: softprops/[email protected]
Expand Down

0 comments on commit 06c88ba

Please sign in to comment.