mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
ci: fix release action
This commit is contained in:
10
.github/workflows/release-desktop.yml
vendored
10
.github/workflows/release-desktop.yml
vendored
@@ -439,15 +439,15 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Generate Release yml
|
|
||||||
run: |
|
|
||||||
node ./scripts/generate-release-yml.js
|
|
||||||
env:
|
|
||||||
RELEASE_VERSION: ${{ needs.before-make.outputs.RELEASE_VERSION }}
|
|
||||||
- name: Copy Selfhost Release Files
|
- name: Copy Selfhost Release Files
|
||||||
run: |
|
run: |
|
||||||
cp ./.github/deployment/self-host/compose.yaml ./release/docker-compose.yaml
|
cp ./.github/deployment/self-host/compose.yaml ./release/docker-compose.yaml
|
||||||
cp ./.github/deployment/self-host/.env.example ./release/.env.example
|
cp ./.github/deployment/self-host/.env.example ./release/.env.example
|
||||||
|
- name: Generate Release yml
|
||||||
|
run: |
|
||||||
|
node ./scripts/generate-release-yml.mjs
|
||||||
|
env:
|
||||||
|
RELEASE_VERSION: ${{ needs.before-make.outputs.RELEASE_VERSION }}
|
||||||
- name: Create Release Draft
|
- name: Create Release Draft
|
||||||
if: ${{ github.ref_type == 'tag' }}
|
if: ${{ github.ref_type == 'tag' }}
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user