-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f16755
commit 06c88ba
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|