UPDATE: Consolidate release upload steps for Windows and macOS in build workflow
Build and Release / release (push) Successful in 41s
Build and Release / release (push) Successful in 41s
This commit is contained in:
@@ -36,29 +36,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
chmod +x ./script/release-uploader
|
chmod +x ./script/release-uploader
|
||||||
|
|
||||||
- name: Upload Windows release
|
- name: Upload release
|
||||||
env:
|
env:
|
||||||
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
|
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
script/release-uploader \
|
script/release-uploader \
|
||||||
-token="$REPO_TOKEN" \
|
-token="$REPO_TOKEN" \
|
||||||
-release-url="https://git.kain.io.vn/api/v1/repos/Firefly-Shelter/FireflyGo_Proxy/releases" \
|
-release-url="https://git.kain.io.vn/api/v1/repos/Firefly-Shelter/FireflyGo_Proxy/releases" \
|
||||||
-files="firefly-go-proxy.exe"
|
-files="firefly-go-proxy.exe,firefly-go-proxy-macos-amd64,firefly-go-proxy-macos-arm64"
|
||||||
|
|
||||||
- name: Upload macOS Intel release
|
|
||||||
env:
|
|
||||||
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
|
|
||||||
run: |
|
|
||||||
script/release-uploader \
|
|
||||||
-token="$REPO_TOKEN" \
|
|
||||||
-release-url="https://git.kain.io.vn/api/v1/repos/Firefly-Shelter/FireflyGo_Proxy/releases" \
|
|
||||||
-files="firefly-go-proxy-macos-amd64"
|
|
||||||
|
|
||||||
- name: Upload macOS ARM release
|
|
||||||
env:
|
|
||||||
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
|
|
||||||
run: |
|
|
||||||
script/release-uploader \
|
|
||||||
-token="$REPO_TOKEN" \
|
|
||||||
-release-url="https://git.kain.io.vn/api/v1/repos/Firefly-Shelter/FireflyGo_Proxy/releases" \
|
|
||||||
-files="firefly-go-proxy-macos-arm64"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user