Skip to content

Commit

Permalink
添加singbox测试版actions文件
Browse files Browse the repository at this point in the history
  • Loading branch information
juewuy committed Jan 22, 2024
1 parent b1f61ed commit 1fbcc36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_singbox_core_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,15 @@ jobs:
done
rm -fr upx*
rm -fr ./tmp/core.tar.gz
echo ${{ github.event.inputs.tag2 }} > ./tmp/version
version=$(./bin/singbox/singbox-linux-amd64 version 2>/dev/null | grep version | awk '{print $3}')
echo $version > ./tmp/version
echo "version=${version}" >> ${GITHUB_ENV}
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1
with:
tag_name: singbox_core${{ github.event.inputs.tag3 }}
name: singbox_core${{ github.event.inputs.tag3 }}
body: "The ${{ github.event.inputs.tag2 }} version of ${{ github.event.inputs.tag1 }} \n这是${{ github.event.inputs.tag1 }}的${{ github.event.inputs.tag2 }}版本内核文件\nhttps://github.com/${{ github.event.inputs.tag1 }}/releases \nZip by upx\n使用了upx进行压缩\nOnly support for ShellCrash\n仅限于ShellCrash项目使用"
body: "The ${version} version of ${{ github.event.inputs.tag1 }} \n这是${{ github.event.inputs.tag1 }}的${version}版本内核文件\nhttps://github.com/${{ github.event.inputs.tag1 }}/releases \nZip by upx\n使用了upx进行压缩\nOnly support for ShellCrash\n仅限于ShellCrash项目使用"
draft: false
prerelease: true
files: |
Expand Down

0 comments on commit 1fbcc36

Please sign in to comment.