|
|
|
|
@ -53,14 +53,13 @@ jobs:
|
|
|
|
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
|
|
|
|
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
|
|
|
|
|
|
|
|
|
|
- name: Publish release
|
|
|
|
|
uses: softprops/action-gh-release@v2
|
|
|
|
|
- name: Upload the artifact
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
with:
|
|
|
|
|
draft: true
|
|
|
|
|
fail_on_unmatched_files: true
|
|
|
|
|
files: upload/*.*
|
|
|
|
|
name: release-desktop-${{ matrix.os.name }}-${{ matrix.arch }}
|
|
|
|
|
path: upload/*.*
|
|
|
|
|
|
|
|
|
|
build_linux_server-x64:
|
|
|
|
|
build_server:
|
|
|
|
|
name: Build Linux Server
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
@ -81,9 +80,39 @@ jobs:
|
|
|
|
|
os: linux
|
|
|
|
|
arch: ${{ matrix.arch }}
|
|
|
|
|
|
|
|
|
|
- name: Upload the artifact
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
with:
|
|
|
|
|
name: release-server-linux-${{ matrix.arch }}
|
|
|
|
|
path: upload/*.*
|
|
|
|
|
|
|
|
|
|
publish_release:
|
|
|
|
|
name: Publish release
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs:
|
|
|
|
|
- make-electron
|
|
|
|
|
- build_server
|
|
|
|
|
steps:
|
|
|
|
|
- run: mkdir upload
|
|
|
|
|
|
|
|
|
|
- name: Download all artifacts
|
|
|
|
|
uses: actions/download-artifact@v4
|
|
|
|
|
with:
|
|
|
|
|
merge-multiple: true
|
|
|
|
|
pattern: release-*
|
|
|
|
|
path: upload
|
|
|
|
|
|
|
|
|
|
- name: Publish release
|
|
|
|
|
uses: softprops/action-gh-release@v2
|
|
|
|
|
with:
|
|
|
|
|
draft: true
|
|
|
|
|
draft: false
|
|
|
|
|
make_latest: false # ! Make sure this is removed before merging.
|
|
|
|
|
body_path: docs/Release Notes/Release Notes/${{ github.ref }}.md
|
|
|
|
|
fail_on_unmatched_files: true
|
|
|
|
|
files: upload/*.*
|
|
|
|
|
|
|
|
|
|
- name: Publish to winget
|
|
|
|
|
uses: ./.github/workflows/release-winget.yml
|
|
|
|
|
with:
|
|
|
|
|
release_tag: ${{ github.ref }}
|
|
|
|
|
token: ${{ secrets.WINGET_PAT }}
|
|
|
|
|
|