commit 5dcab460e5a70d4b983370f7666ce1aae5a8e243
parent 84838478b35af2a91612d069399bfb048d044a8c
Author: William Casarin <jb55@jb55.com>
Date: Sat, 30 Nov 2024 11:31:33 -0800
fix linux packages again
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
@@ -96,24 +96,26 @@ jobs:
run: cargo generate-rpm
- name: Build deb (Cross)
+ if: matrix.arch != runner.arch
run: cargo deb --target=${{ matrix.arch }}-unknown-linux-gnu
- name: Build deb
+ if: matrix.arch == runner.arch
run: cargo deb
- name: Upload RPM
uses: actions/upload-artifact@v4
if: runner.arch == matrix.arch
with:
- name: ${{ inputs.artifact-name }}-${{ matrix.arch }}.rpm
+ name: notedeck-${{ matrix.arch }}.rpm
path: target/release/generate-rpm/notedeck.rpm
- name: Upload RPM (Cross)
uses: actions/upload-artifact@v4
if: runner.arch != matrix.arch
with:
- name: ${{ inputs.artifact-name }}-${{ matrix.arch }}.rpm
- path: target/${{ matrix.arch }}-unknown-linux-gnu/generate-rpm/notedeck.rpm
+ name: notedeck-${{ matrix.arch }}.rpm
+ path: target/${{ matrix.arch }}-unknown-linux-gnu/generate-rpm/*.rpm
- name: Upload deb (Native)
uses: actions/upload-artifact@v4
@@ -123,12 +125,12 @@ jobs:
path: target/release/debian/notedeck.deb
# Upload Debian Package (Cross)
- - name: Upload db (Cross)
+ - name: Upload deb (Cross)
uses: actions/upload-artifact@v4
if: runner.arch != matrix.arch
with:
name: notedeck-${{ matrix.arch }}.deb
- path: target/${{ matrix.arch }}-unknown-linux-gnu/debian/notedeck.deb
+ path: target/${{ matrix.arch }}-unknown-linux-gnu/debian/*.deb
macos-dmg:
name: macOS dmg