From 188e5a8bce92054d09fc42dd9db4c7a2404da08f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 26 Feb 2024 05:21:42 +0100 Subject: [PATCH] build-debian: Add IDs to upload steps so that can be referenced as outputs --- .github/workflows/test-build-deb.yaml | 2 ++ gh-actions/common/build-debian/action.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test-build-deb.yaml b/.github/workflows/test-build-deb.yaml index 51216e9..e255c71 100644 --- a/.github/workflows/test-build-deb.yaml +++ b/.github/workflows/test-build-deb.yaml @@ -61,6 +61,8 @@ jobs: outputs: pkg-name: ${{ env.PKG_NAME }} pkg-version: ${{ env.PKG_VERSION }} + source-pkg: ${{ steps.build-debian-source-package-upload-step.outputs.artifact-url }} + binaries: ${{ steps.build-debian-binary-packages-upload-step.outputs.artifact-url }} steps: - name: Install dependencies diff --git a/gh-actions/common/build-debian/action.yml b/gh-actions/common/build-debian/action.yml index 8139d98..21171ee 100644 --- a/gh-actions/common/build-debian/action.yml +++ b/gh-actions/common/build-debian/action.yml @@ -153,6 +153,7 @@ runs: - name: Uploading source packages uses: actions/upload-artifact@v4 + id: build-debian-source-package-upload-step with: name: ${{ env.PKG_NAME }}_${{ env.PKG_VERSION }}-debian-source path: ${{ env.SOURCE_OUTPUT_DIR }}/ @@ -239,6 +240,7 @@ runs: echo "::endgroup::" - name: Upload artifacts + id: build-debian-binary-packages-upload-step uses: actions/upload-artifact@v4 with: name: ${{ env.PKG_NAME }}_${{ env.PKG_VERSION }}-debian-packages