Skip to content

Commit c109fec

Browse files
committed
Speed up setup-ckan action
1 parent 0687107 commit c109fec

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/actions/setup-ckan/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ runs:
4545
- name: Install CKAN
4646
shell: bash
4747
run: |
48+
rm -f /var/lib/man-db/auto-update # skip updating man pages, which takes a long time and makes no sense in a CI job
4849
gh release download ${{ inputs.ckan-version }} --repo ${{ inputs.ckan-repo }} --pattern 'ckan*.deb' -O ckan.deb
4950
${{ env.ACT && 'sudo apt update --quiet' }}
50-
sudo apt install --quiet ./ckan.deb ${{ runner.debug && '--verbose-versions' }}
51+
sudo apt install --quiet --no-install-recommends --no-install-suggested ./ckan.deb ${{ runner.debug && '--verbose-versions' }}
5152
ckan version
5253
env:
5354
GH_TOKEN: ${{ github.token }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ All notable changes to this project will be documented in this file
2626

2727
- Fixed git submodule example to work even for tagged releases (#49)
2828

29+
### Actions
30+
31+
- Sped up `setup-ckan` action by skipping recommended packages and man-db updates
32+
2933

3034
## 0.0.4 - 2025-06-15
3135

0 commit comments

Comments
 (0)