Skip to content

Commit

Permalink
ci: Switch docs workflows to Archlinux packages
Browse files Browse the repository at this point in the history
The PPA hasn't been updated for a while
  • Loading branch information
bbhtt committed Jan 11, 2025
1 parent 29cd6f0 commit 123da7e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/update-flatpak-builder-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo add-apt-repository ppa:flatpak/development
sudo apt update
sudo apt install -y flatpak flatpak-builder git libxml2-utils
sudo apt install -y appstream git libxml2-utils
- name: Download docs
run: |
curl -L -o flatpak-builder.pkg.tar.zst https://archlinux.org/packages/extra/x86_64/flatpak-builder/download/
tar --zstd -xf flatpak-builder.pkg.tar.zst
- name: Get current docs version
run: |
Expand All @@ -24,7 +27,7 @@ jobs:
- name: Move docs
run: |
cp -vf /usr/share/doc/flatpak-builder/flatpak-builder-docs.html docs/
cp -vf usr/share/doc/flatpak-builder/flatpak-builder-docs.html docs/
- name: Get new docs version
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/update-flatpak-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo add-apt-repository ppa:flatpak/development
sudo apt update
sudo apt install -y flatpak flatpak-builder git libxml2-utils
sudo apt install -y appstream git libxml2-utils
- name: Download docs
run: |
curl -L -o flatpak-docs.pkg.tar.zst https://archlinux.org/packages/extra/x86_64/flatpak-docs/download/
tar --zstd -xf flatpak-docs.pkg.tar.zst
- name: Get current docs version
run: |
Expand All @@ -24,7 +27,7 @@ jobs:
- name: Move docs
run: |
cp -vf /usr/share/doc/flatpak/flatpak-docs.html docs/
cp -vf usr/share/doc/flatpak/flatpak-docs.html docs/
- name: Get new docs version
run: |
Expand Down

0 comments on commit 123da7e

Please sign in to comment.