mirror of
https://github.com/katanemo/plano.git
synced 2026-06-02 14:35:14 +02:00
add workflow_dispatch trigger for testing binary publishing
This commit is contained in:
parent
38cb81ba7a
commit
9d223d54f9
1 changed files with 9 additions and 4 deletions
13
.github/workflows/publish-binaries.yml
vendored
13
.github/workflows/publish-binaries.yml
vendored
|
|
@ -3,6 +3,11 @@ name: Publish pre-compiled binaries (release)
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: "Release tag to upload binaries to (e.g. 0.4.9)"
|
||||||
|
required: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
@ -27,7 +32,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh release upload "${{ github.event.release.tag_name }}" \
|
gh release upload "${{ github.event.release.tag_name || inputs.tag }}" \
|
||||||
crates/target/wasm32-wasip1/release/prompt_gateway.wasm \
|
crates/target/wasm32-wasip1/release/prompt_gateway.wasm \
|
||||||
crates/target/wasm32-wasip1/release/llm_gateway.wasm \
|
crates/target/wasm32-wasip1/release/llm_gateway.wasm \
|
||||||
--clobber
|
--clobber
|
||||||
|
|
@ -50,7 +55,7 @@ jobs:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
cp crates/target/release/brightstaff brightstaff-linux-amd64
|
cp crates/target/release/brightstaff brightstaff-linux-amd64
|
||||||
gh release upload "${{ github.event.release.tag_name }}" \
|
gh release upload "${{ github.event.release.tag_name || inputs.tag }}" \
|
||||||
brightstaff-linux-amd64 \
|
brightstaff-linux-amd64 \
|
||||||
--clobber
|
--clobber
|
||||||
|
|
||||||
|
|
@ -72,7 +77,7 @@ jobs:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
cp crates/target/release/brightstaff brightstaff-linux-arm64
|
cp crates/target/release/brightstaff brightstaff-linux-arm64
|
||||||
gh release upload "${{ github.event.release.tag_name }}" \
|
gh release upload "${{ github.event.release.tag_name || inputs.tag }}" \
|
||||||
brightstaff-linux-arm64 \
|
brightstaff-linux-arm64 \
|
||||||
--clobber
|
--clobber
|
||||||
|
|
||||||
|
|
@ -94,6 +99,6 @@ jobs:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
cp crates/target/release/brightstaff brightstaff-darwin-arm64
|
cp crates/target/release/brightstaff brightstaff-darwin-arm64
|
||||||
gh release upload "${{ github.event.release.tag_name }}" \
|
gh release upload "${{ github.event.release.tag_name || inputs.tag }}" \
|
||||||
brightstaff-darwin-arm64 \
|
brightstaff-darwin-arm64 \
|
||||||
--clobber
|
--clobber
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue