Skip to content

Commit 86d0538

Browse files
committed
CI: update deken installation
1 parent 21b43b5 commit 86d0538

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,22 @@ jobs:
219219
cargo cinstall --verbose
220220
221221
deken-package:
222-
# The deken package seems to be missing on 22.04:
223-
runs-on: ubuntu-20.04
222+
runs-on: ubuntu-latest
223+
container: registry.git.iem.at/pd/deken
224224
needs: [Linux, macOS, Windows-MSYS2]
225225
steps:
226+
- name: Install Git
227+
run: |
228+
apt-get update
229+
apt-get install --assume-yes --no-install-recommends git
226230
- name: Clone Git repository
227231
uses: actions/checkout@v4
232+
with:
233+
# check out all tags to get proper version in Deken package
234+
fetch-depth: 0
235+
- name: git clone fix
236+
# https://github.com/actions/checkout/issues/1169:
237+
run: git config --system --add safe.directory $GITHUB_WORKSPACE
228238
- name: Retrieve Linux external
229239
uses: actions/download-artifact@v4
230240
with:
@@ -243,12 +253,6 @@ jobs:
243253
- name: Copy help patch and source file
244254
run: |
245255
cp pure-data/asdf~* asdf
246-
- name: Install deken
247-
run: |
248-
sudo apt-get install --no-install-recommends deken
249-
# work-arounds from https://github.com/pure-data/deken/issues/247:
250-
mkdir ~/.deken
251-
python3 -m pip install hy==0.19
252256
- name: Run deken
253257
run: |
254258
deken package -v $(git describe --tags --always) --objects pure-data/objects.txt asdf

0 commit comments

Comments
 (0)