Skip to content

Commit

Permalink
Upload release outputs as artifacts when testing release process
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Jan 20, 2024
1 parent a9b3826 commit 8745b3b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down Expand Up @@ -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/[email protected]
with:
Expand Down

0 comments on commit 8745b3b

Please sign in to comment.