From 2c6fc0c4daaba0b288d7245659816b1c00e63415 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sat, 20 Jan 2024 04:37:53 +0000 Subject: [PATCH] Upload release outputs as artifacts when testing release process --- .github/workflows/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a06ce954..f3d326a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,6 +101,13 @@ jobs: shell: bash if: matrix.name == 'windows' + - name: Upload archive as artifact + uses: actions/upload-artifact@v4 + with: + name: rage-${{ matrix.asset_suffix }} + path: ${{ matrix.archive_name }} + if: github.event.inputs.test == 'true' + - name: Upload archive to release uses: svenstaro/upload-release-action@2.7.0 with: @@ -197,6 +204,13 @@ jobs: - name: cargo deb run: cargo deb --package rage --no-build --target ${{ matrix.target }} ${{ matrix.deb_flags }} + - name: Upload Debian package as artifact + uses: actions/upload-artifact@v4 + with: + name: rage-${{ matrix.name }}.deb + path: target/${{ matrix.target }}/debian/*.deb + if: github.event.inputs.test == 'true' + - name: Upload Debian package to release uses: svenstaro/upload-release-action@2.7.0 with: