mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Add appimage support
This commit is contained in:
parent
86aef32cd4
commit
24002d7cfb
1 changed files with 23 additions and 3 deletions
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
|
@ -169,14 +169,34 @@ jobs:
|
|||
args: --release
|
||||
- name: Install cargo-aur
|
||||
run: cargo install cargo-aur
|
||||
- name: Build rpm package
|
||||
run: cargo rpm build
|
||||
- name: Build aur package
|
||||
run: cargo aur
|
||||
|
||||
appimage:
|
||||
name: Publish appimage package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release
|
||||
- name: Download appimage dependiences
|
||||
run: |
|
||||
wget -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
|
||||
wget -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
|
||||
chmod +x linuxdeploy-plugin-gtk.sh
|
||||
chmod +x linuxdeploy-x86_64.AppImage
|
||||
mkdir -p AppDir/usr/bin
|
||||
cp target/release/taskwarrior-tui AppDir/usr/bin
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
|
||||
- name: Releasing assets
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
target/release/rpmbuild/RPMS/x86_64/*.rpm
|
||||
*.appimage
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue