Skip to content

Commit

Permalink
ci: Upload server build as well
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Sep 6, 2024
1 parent 7248d5b commit c964f9e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: |
mv upload/*.${{ matrix.os.extension }} "upload/TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}.${{matrix.os.extension}}"
mv upload/*.zip "upload/TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}.zip"
- name: Publish test
- name: Publish release
uses: softprops/action-gh-release@v2
with:
draft: true
Expand Down Expand Up @@ -98,8 +98,12 @@ jobs:
run: |
mkdir -p upload
file=$(find dist -name '*.tar.xz' -print -quit)
cp "$file" "upload/TriliumNextNotes-linux-x64-${{ github.ref_name }}.tar.xz"
- uses: actions/upload-artifact@v4
cp "$file" "upload/TriliumNextNotes-linux-x64-${{ github.ref_name }}.tar.xz"
- name: Publish release
uses: softprops/action-gh-release@v2
with:
name: TriliumNextNotes linux server x64
path: upload/TriliumNextNotes-linux-x64-${{ github.ref_name }}.tar.xz
draft: true
tag_name: test_release
fail_on_unmatched_files: true
files: |
upload/*.xz

0 comments on commit c964f9e

Please sign in to comment.