Skip to content

Commit

Permalink
Build and packaging fixes (#2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu authored Nov 10, 2024
1 parent f4dbddd commit b49c4bb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
libxkbcommon-x11-0 dbus-x11 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 \
libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libxcb-shape0 \
libegl1 libxcb-cursor0 libfuse-dev libsqlite3-dev libfuse3-dev pkg-config \
python3-pkgconfig libxxhash-dev borgbackup
python3-pkgconfig libxxhash-dev borgbackup appstream
- name: Install system dependencies (macOS)
if: runner.os == 'macOS'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Package with PyInstaller
run: |
pyinstaller --clean --noconfirm package/vorta.spec
cp -R /opt/homebrew/Caskroom/sparkle/*/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
cp -R $(brew --prefix)/Caskroom/sparkle/*/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
curl -LJO https://github.com/borgbackup/borg/releases/download/${{ github.event.inputs.borg_version }}/borg-macos1012.tgz
tar xvf borg-macos1012.tgz -C dist/Vorta.app/Contents/Resources/
cd dist && zip -rq --symlinks Vorta.zip Vorta.app
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ jobs:
python-version: ${{ matrix.python-version }}
install-nox: true

- name: Validate Flatpak manifest
if: runner.os == 'Linux'
shell: bash
run: appstreamcli validate ./src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
Expand Down
4 changes: 1 addition & 3 deletions src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
<releases>
<release version="v0.10.0" date="2024-11-10" urgency="low">
<description>
<p>See <a href="https://github.com/borgbase/vorta/releases">Github</a>
for detailed release notes.
</p>
See Github for detailed release notes: github.com/borgbase/vorta/releases
</description>
</release>
</releases>
Expand Down

0 comments on commit b49c4bb

Please sign in to comment.