From 4da117b3a675e6ed57cfda842fc1e90042cdde2a Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 19 Oct 2025 14:41:02 +0200 Subject: [PATCH 1/3] CI: use deken Docker image --- .github/workflows/pd-externals.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pd-externals.yml b/.github/workflows/pd-externals.yml index e6a44bf..35fbad3 100644 --- a/.github/workflows/pd-externals.yml +++ b/.github/workflows/pd-externals.yml @@ -85,13 +85,19 @@ jobs: path: apf/examples/pure-data/build/* deken-package: - # Deken is not available on 22.04, - # see https://github.com/pure-data/deken/issues/260 - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: registry.git.iem.at/pd/deken needs: [linux, macos, windows] steps: - - name: Clone Git repository - uses: actions/checkout@v2 + - name: Install Git + run: | + apt-get update + apt-get install --assume-yes --no-install-recommends git + - name: Checkout code + uses: actions/checkout@v4 + with: + # https://github.com/actions/checkout/issues/1169 + set-safe-directory: ${{ github.workspace }} - name: Retrieve Linux externals uses: actions/download-artifact@v2 with: @@ -107,12 +113,6 @@ jobs: with: name: windows-externals path: apf_example - - name: Install deken - run: | - sudo apt-get install --no-install-recommends deken - # work-arounds from https://github.com/pure-data/deken/issues/247: - mkdir ~/.deken - python3 -m pip install hy==0.19 - name: Run deken run: | deken package -v $(git describe --tags --always) --objects examples/pure-data/objects.txt apf_example From 8730ea8393d21fccc5bb4c962b3109c227e2cc9d Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 19 Oct 2025 14:46:22 +0200 Subject: [PATCH 2/3] CI: update download-artifact --- .github/workflows/pd-externals.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pd-externals.yml b/.github/workflows/pd-externals.yml index 35fbad3..a2e3050 100644 --- a/.github/workflows/pd-externals.yml +++ b/.github/workflows/pd-externals.yml @@ -99,17 +99,17 @@ jobs: # https://github.com/actions/checkout/issues/1169 set-safe-directory: ${{ github.workspace }} - name: Retrieve Linux externals - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v5 with: name: linux-externals path: apf_example - name: Retrieve macOS external - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v5 with: name: macos-externals path: apf_example - name: Retrieve Windows external - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v5 with: name: windows-externals path: apf_example From e1587e78297adccb5b17d9fa29e0b024838505fa Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 19 Oct 2025 14:56:05 +0200 Subject: [PATCH 3/3] Fix git config --- .github/workflows/pd-externals.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pd-externals.yml b/.github/workflows/pd-externals.yml index a2e3050..772869c 100644 --- a/.github/workflows/pd-externals.yml +++ b/.github/workflows/pd-externals.yml @@ -96,8 +96,11 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - # https://github.com/actions/checkout/issues/1169 - set-safe-directory: ${{ github.workspace }} + # check out all tags to get proper version in Deken package + fetch-depth: 0 + - name: git clone fix + # https://github.com/actions/checkout/issues/1169: + run: git config --system --add safe.directory $GITHUB_WORKSPACE - name: Retrieve Linux externals uses: actions/download-artifact@v5 with: