mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-05-31 11:09:30 +02:00
Update: Flatpak CI
This commit is contained in:
parent
0970dd8054
commit
53751558fd
12
.github/workflows/LinuxFlatpak.yml
vendored
12
.github/workflows/LinuxFlatpak.yml
vendored
@ -8,11 +8,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y appstream
|
||||
|
||||
- name: Verify AppStream Version
|
||||
run: |
|
||||
appstreamcli --version
|
||||
@ -33,12 +28,17 @@ jobs:
|
||||
- name: List Flatpak Installed Packages and Version
|
||||
run: |
|
||||
flatpak --version
|
||||
appstreamcli --version
|
||||
flatpak list
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Inject Git commit hash into Flatpak manifest
|
||||
run: |
|
||||
COMMIT_HASH=$(git rev-parse HEAD)
|
||||
echo "Current commit hash: $COMMIT_HASH"
|
||||
sed -i "s/PDF4QT_LAST_COMMIT/$COMMIT_HASH/g" ./Flatpak/io.github.JakubMelka.Pdf4qt.json
|
||||
|
||||
- name: Build Flatpak
|
||||
run: |
|
||||
flatpak-builder --repo=repo --sandbox --force-clean build-dir ./Flatpak/io.github.JakubMelka.Pdf4qt.json
|
||||
|
@ -125,7 +125,7 @@
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/JakubMelka/PDF4QT.git",
|
||||
"commit": "01120bb542da6acfb47a540506ed2b50b08c66c1"
|
||||
"commit": "PDF4QT_LAST_COMMIT"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user