This commit is contained in:
parent
f01eb56097
commit
52b8e57fc7
@ -4,22 +4,28 @@ on: [push]
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
runs-on: workbench
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://gitea.com/actions/checkout@v4
|
||||
- name: Setup Bun
|
||||
run: |
|
||||
curl -fsSL https://bun.sh/install | bash
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
echo "BUN_INSTALL=$HOME/.bun" >> $GITHUB_ENV
|
||||
echo "$HOME/.bun/bin" >> $GITHUB_PATH
|
||||
- name: Build Binary
|
||||
env:
|
||||
OBJECT_TOKEN: ${{ secrets.OBJECT_TOKEN }} # 需要在Gitea项目设置中配置的密钥
|
||||
GITEA_BASE_URL: http://git.honor3.com # 你的Gitea实例地址
|
||||
PACKAGE_OWNER: Fullstack # 仓库所有者用户名
|
||||
REPO_NAME: kit.program # 仓库名
|
||||
OBJECT_TOKEN: ${{ secrets.OBJECT_TOKEN }}
|
||||
GITEA_BASE_URL: http://git.honor3.com
|
||||
PACKAGE_OWNER: Fullstack
|
||||
REPO_NAME: kit.program
|
||||
PACKAGE_NAME: kit
|
||||
PACKAGE_VERSION: ${{ github.ref_name }} # 使用分支名或标签作为版本
|
||||
PACKAGE_VERSION: ${{ github.ref_name }}
|
||||
run: |
|
||||
echo ----------------------------------------
|
||||
echo ${{ github.ref_name }} ${{ github.sha }}
|
||||
bun -v
|
||||
ping -c 3 git.honor3.com
|
||||
cd kit
|
||||
bun i
|
||||
bun run windows
|
||||
|
||||
Loading…
Reference in New Issue
Block a user