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:
|
||||
push:
|
||||
@@ -6,10 +6,8 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
dist:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CI: true
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -20,14 +18,16 @@ jobs:
|
||||
with:
|
||||
cache: false
|
||||
|
||||
- name: Show tool versions
|
||||
run: |
|
||||
mise version
|
||||
bun --version
|
||||
node --version
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Run dist pipeline
|
||||
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