2 name: 'Test package building for specific distributions'
8 permissions: # least privileges, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
14 if: ${{ vars.SCHEDULED_JOBS_BUILDER }}
15 # on a ubuntu-20.04 VM
19 product: ['authoritative', 'recursor', 'dnsdist']
32 - uses: actions/checkout@v3
34 fetch-depth: 0 # for correct version numbers
36 # this builds packages and runs our unit test (make check)
37 - run: builder/build.sh -v -m ${{ matrix.product }} ${{ matrix.os }}
38 - name: Get version number
40 echo "version=$(readlink builder/tmp/latest)" >> $GITHUB_OUTPUT
42 - name: Upload packages
43 uses: actions/upload-artifact@v3
45 name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }}