From 072f1f2f0b0b714c8870dc09bb876a474f2c9e96 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 29 Jun 2021 15:36:12 +0200 Subject: [PATCH] gh actions builder: upload built packages as artifacts --- .github/workflows/builder.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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/ -- 2.47.2