diff --git a/.github/workflows/pd-externals.yml b/.github/workflows/pd-externals.yml index e6a44bf..772869c 100644 --- a/.github/workflows/pd-externals.yml +++ b/.github/workflows/pd-externals.yml @@ -85,34 +85,37 @@ 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: + # 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@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 - - 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