mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 05:19:56 +00:00
More fixes to the release.yml
This commit is contained in:
parent
32e7226346
commit
964fc32749
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -42,15 +42,18 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TIME: "${{ steps.current-time.outputs.time }}"
|
TIME: "${{ steps.current-time.outputs.time }}"
|
||||||
with:
|
with:
|
||||||
name: hysteria-cli
|
name: hysteria
|
||||||
arch: amd64
|
arch: amd64
|
||||||
dest: ./dist/
|
dest: ./dist/
|
||||||
ldflags: -w -s -X main.appVersion=$GIT_TAG_NAME -X main.appCommit=$GITHUB_SHA -X main.appDate=$TIME
|
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ env.GITHUB_SHA }} -X main.appDate=${{ env.TIME }}
|
||||||
os: darwin,linux,windows
|
os: windows,linux,darwin
|
||||||
package: ./cmd
|
package: ./cmd
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: meeDamian/github-release@2.0
|
uses: meeDamian/github-release@2.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: ./dist/
|
files: >
|
||||||
|
hysteria_windows_amd64.zip
|
||||||
|
hysteria_linux_amd64.tar.gz
|
||||||
|
hysteria_darwin_amd64.zip
|
Loading…
x
Reference in New Issue
Block a user