mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(ci): error in building electron due to extensions
This commit is contained in:
parent
856a8a754e
commit
803f59260d
4
.github/actions/build-electron/action.yml
vendored
4
.github/actions/build-electron/action.yml
vendored
@ -6,7 +6,7 @@ inputs:
|
|||||||
description: "The architecture to build for: x64, arm64"
|
description: "The architecture to build for: x64, arm64"
|
||||||
required: true
|
required: true
|
||||||
extension:
|
extension:
|
||||||
description: "Platform specific extension to build: dmg, deb, exe"
|
description: "Platform specific extensions to copy in the output: dmg, deb, rpm, exe"
|
||||||
required: true
|
required: true
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
@ -32,7 +32,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p upload;
|
mkdir -p upload;
|
||||||
for ext in ${{ join(inputs.extension, ' ') }};
|
for ext in ${{ inputs.extension }};
|
||||||
do
|
do
|
||||||
file=$(find out/make -name "*.$ext" -print -quit);
|
file=$(find out/make -name "*.$ext" -print -quit);
|
||||||
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.$ext";
|
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.$ext";
|
||||||
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
os: ${{ matrix.os.name }}
|
os: ${{ matrix.os.name }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
extension: ${{ matrix.os.extension }}
|
extension: ${{ join(matrix.os.extension, ' ') }}
|
||||||
- run: find output
|
- run: find output
|
||||||
|
|
||||||
- name: Deploy release
|
- name: Deploy release
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
os: ${{ matrix.os.name }}
|
os: ${{ matrix.os.name }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
extension: ${{ matrix.os.extension }}
|
extension: ${{ join(matrix.os.extension, ' ') }}
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user