Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(ci): required shell
Elian Dorancfdb561bf665
diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.ymlindex 007082a836..f9dd2ffa57 100644--- a/.github/actions/build-electron/action.yml+++ b/.github/actions/build-electron/action.yml@@ -13,26 +13,22 @@ runs:steps:- name: Set up Python for appdmg to be installedif: ${{ inputs.os == 'macos' }}+ shell: bashrun: brew install python-setuptools- name: Install dependencies+ shell: bashrun: npm ci- name: Update build info+ shell: bashrun: npm run update-build-info- name: Run electron-forge+ shell: bashrun: npm run make-electron -- --arch=${{ inputs.arch }}- - name: Prepare artifacts (Unix)- if: inputs.os != 'windows'+ - name: Prepare artifacts+ shell: bashrun: |mkdir -p uploadfile=$(find out/make -name '*.zip' -print -quit)cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.zip"file=$(find out/make -name '*.${{ matrix.os.extension }}' -print -quit)- cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.${{ matrix.os.extension }}"- - name: Prepare artifacts (Windows)- if: inputs.os == 'windows'- run: |- mkdir upload- $file = Get-ChildItem -Path out/make -Filter '*.zip' -Recurse | Select-Object -First 1- Copy-Item -Path $file.FullName -Destination "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.zip"- $file = Get-ChildItem -Path out/make -Filter '*.${{ matrix.os.extension }}' -Recurse | Select-Object -First 1- Copy-Item -Path $file.FullName -Destination "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.${{ matrix.os.extension }}"\ No newline at end of file+ cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.${{ matrix.os.extension }}"\ No newline at end of file