forked from imbytecat/fullstack-starter
ci(gitea): 将 dist 工作流重命名为 release 并上传 AppImage 产物
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Build Dist
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -6,10 +6,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dist:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
CI: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -20,14 +18,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Show tool versions
|
|
||||||
run: |
|
|
||||||
mise version
|
|
||||||
bun --version
|
|
||||||
node --version
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run dist pipeline
|
- name: Run dist pipeline
|
||||||
run: bunx turbo run dist
|
run: bunx turbo run dist
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: christopherhx/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-${{ github.run_number }}
|
||||||
|
path: |
|
||||||
|
apps/desktop/dist/*.AppImage
|
||||||
|
retention-days: 7
|
||||||
Reference in New Issue
Block a user