Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyralei committed Aug 2, 2024
1 parent 04c6e0f commit 896c8b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
id: build_deb
run: |
VERSION=${{ steps.get_version.outputs.version }}
DEB_FILE=$(fpm -s dir -t deb -n print-pdf -v $VERSION -C package usr/local/bin usr/share/applications | grep -oP 'deb .*? \K.*print-pdf.*\.deb')
fpm -s dir -t deb -n print-pdf -v $VERSION -C package usr/local/bin usr/share/applications
DEB_FILE=$(ls print-pdf_*.deb)
echo "deb_file=$DEB_FILE" >> $GITHUB_OUTPUT
- name: Upload .deb package
Expand All @@ -80,7 +81,8 @@ jobs:
id: build_rpm
run: |
VERSION=${{ steps.get_version.outputs.version }}
RPM_FILE=$(fpm -s dir -t rpm -n print-pdf -v $VERSION -C package usr/local/bin usr/share/applications | grep -oP 'rpm .*? \K.*print-pdf.*\.rpm')
fpm -s dir -t rpm -n print-pdf -v $VERSION -C package usr/local/bin usr/share/applications
RPM_FILE=$(ls print-pdf-*.rpm)
echo "rpm_file=$RPM_FILE" >> $GITHUB_OUTPUT
- name: Upload .rpm package
Expand Down

0 comments on commit 896c8b4

Please sign in to comment.