build:
name: build.sh
if: ${{ vars.SCHEDULED_JOBS_BUILDER }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ matrix.runner-os }}
strategy:
matrix:
product: ['authoritative', 'recursor', 'dnsdist']
- debian-bookworm
- debian-trixie
- amazon-2023
+ runner-os:
+ - ubuntu-22.04
+ - ubicloud-standard-2-arm
+ exclude:
+ - os: centos-7
+ runner-os: ubicloud-standard-2-arm
fail-fast: false
steps:
- uses: actions/checkout@v4
run: |
echo "version=$(readlink builder/tmp/latest)" >> $GITHUB_OUTPUT
id: getversion
+ - name: Get target architecture
+ run: |
+ echo "target-arch=$(uname -m)" >> $GITHUB_OUTPUT
+ id: getarch
- name: Upload packages
uses: actions/upload-artifact@v4
with:
- name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }}
+ name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }}-${{ steps.getarch.outputs.target-arch }}
path: built_pkgs/
retention-days: 7