From: Peter van Dijk Date: Tue, 29 Jun 2021 13:36:12 +0000 (+0200) Subject: gh actions builder: upload built packages as artifacts X-Git-Tag: dnsdist-1.7.0-alpha1~37^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10536%2Fhead;p=thirdparty%2Fpdns.git gh actions builder: upload built packages as artifacts --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index ce32ad0db0..b3b10075a5 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -20,10 +20,19 @@ jobs: - ubuntu-bionic - oraclelinux-8 - centos-8-stream + - debian-bullseye steps: - uses: actions/checkout@v2.3.4 with: - fetch-depth: 5 + fetch-depth: 0 # for correct version numbers submodules: recursive # this builds packages and runs our unit test (make check) - run: builder/build.sh -v -m ${{ matrix.product }} ${{ matrix.os }} + - name: Get version number + run: 'echo ::set-output name=version::$(readlink builder/tmp/latest)' + id: getversion + - name: Upload packages + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }} + path: built_pkgs/