|
|
|
|
@ -20,10 +20,10 @@ jobs:
|
|
|
|
|
os:
|
|
|
|
|
- name: macos
|
|
|
|
|
image: macos-latest
|
|
|
|
|
extension: dmg
|
|
|
|
|
extension: [dmg, zip]
|
|
|
|
|
- name: linux
|
|
|
|
|
image: ubuntu-latest
|
|
|
|
|
extension: [deb, rpm]
|
|
|
|
|
extension: [deb, rpm, zip]
|
|
|
|
|
- name: windows
|
|
|
|
|
image: windows-latest
|
|
|
|
|
extension: exe
|
|
|
|
|
@ -49,11 +49,12 @@ jobs:
|
|
|
|
|
- name: Prepare artifacts (Unix)
|
|
|
|
|
if: runner.os != 'windows'
|
|
|
|
|
run: |
|
|
|
|
|
mkdir -p upload
|
|
|
|
|
file=$(find out/make -name '*.zip' -print -quit)
|
|
|
|
|
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ matrix.os.name }}-${{ matrix.arch }}.zip"
|
|
|
|
|
file=$(find out/make -name '*.${{ matrix.os.extension }}' -print -quit)
|
|
|
|
|
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ matrix.os.name }}-${{ matrix.arch }}.${{ matrix.os.extension }}"
|
|
|
|
|
mkdir -p upload;
|
|
|
|
|
for ext in ${{ join(matrix.os.extension, ' ') }};
|
|
|
|
|
do
|
|
|
|
|
file=$(find out/make -name "*.$ext" -print -quit);
|
|
|
|
|
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ matrix.os.name }}-${{ matrix.arch }}.$ext";
|
|
|
|
|
done
|
|
|
|
|
- name: Prepare artifacts (Windows)
|
|
|
|
|
if: runner.os == 'windows'
|
|
|
|
|
run: |
|
|
|
|
|
|