Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3eaa048

Browse files
committed
fix: CI — APPIMAGE_EXTRACT_AND_RUN + 재귀 sig 탐색 + includeUpdaterJson false
- Linux: APPIMAGE_EXTRACT_AND_RUN=1 추가 (FUSE 없는 CI 환경에서 linuxdeploy 실행) - Windows: *.nsis.zip.sig 탐색을 재귀(-Recurse)로 변경, 미발견 시 명시적 오류 - 양쪽 tauri-action: includeUpdaterJson: false (publish job에서 통합 생성)
1 parent 56b2720 commit 3eaa048

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@ jobs:
7373
releaseName: 'Topica ${{ github.ref_name }}'
7474
releaseDraft: true
7575
prerelease: false
76+
includeUpdaterJson: false
7677
args: --bundles nsis
7778

7879
- name: Save Windows sig artifact
7980
shell: pwsh
8081
run: |
81-
$f = Get-ChildItem src-tauri/target/release/bundle/nsis -Filter "*.nsis.zip.sig" |
82+
$f = Get-ChildItem src-tauri/target/release/bundle -Recurse -Filter "*.nsis.zip.sig" |
8283
Select-Object -First 1
84+
if (-not $f) { throw "*.nsis.zip.sig not found in src-tauri/target/release/bundle" }
8385
Copy-Item $f.FullName windows.sig
8486
8587
- uses: actions/upload-artifact@v4
@@ -95,6 +97,8 @@ jobs:
9597
runs-on: ubuntu-22.04
9698
permissions:
9799
contents: write
100+
env:
101+
APPIMAGE_EXTRACT_AND_RUN: '1'
98102

99103
steps:
100104
- uses: actions/checkout@v4
@@ -147,16 +151,20 @@ jobs:
147151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148152
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
149153
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
154+
APPIMAGE_EXTRACT_AND_RUN: '1'
150155
with:
151156
tagName: ${{ github.ref_name }}
152157
releaseName: 'Topica ${{ github.ref_name }}'
153158
releaseDraft: true
154159
prerelease: false
160+
includeUpdaterJson: false
155161
args: --bundles appimage
156162

157163
- name: Save Linux sig artifact
158164
run: |
159-
cp src-tauri/target/release/bundle/appimage/*.AppImage.tar.gz.sig linux.sig
165+
f=$(find src-tauri/target/release/bundle -name "*.AppImage.tar.gz.sig" | head -1)
166+
if [ -z "$f" ]; then echo "sig not found"; exit 1; fi
167+
cp "$f" linux.sig
160168
161169
- uses: actions/upload-artifact@v4
162170
with:

0 commit comments

Comments
 (0)