Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
VersBinarii committed Apr 7, 2021
1 parent 6189883 commit 0f926a1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,26 @@ jobs:
strip target/release/pic2lcd
mkdir -p release
tar -C ./target/release/ -czvf ./release/pic2lcd-mac.tar.gz ./pic2lcd
- name: Build Release Linux
- name: Build Release Linux Deb
if: matrix.os == 'ubuntu-latest'
run: |
cargo install cargo-deb
cargo deb
strip target/release/pic2lcd
mkdir -p release
mv target/debian/*.deb ./release/pic2lcd-linux.deb
- name: Build Release Linux AUR
if: matrix.os == 'ubuntu-latest'
run: |
strip target/release/pic2lcd
mkdir -p release
cargo install cargo-aur
cargo aur
mv *.tar.gz ./release/pic2lcd-arch-linux.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ steps.Build.outputs.version }}
prerelease: false
draft: false
files: |
Expand Down

0 comments on commit 0f926a1

Please sign in to comment.