mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Update ci.yml
This commit is contained in:
parent
2dd144fdef
commit
7ef7ef9e82
1 changed files with 22 additions and 0 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -117,6 +117,28 @@ jobs:
|
||||||
token: ${{secrets.HOMEBREW_TOKEN}}
|
token: ${{secrets.HOMEBREW_TOKEN}}
|
||||||
formula: taskwarrior-tui
|
formula: taskwarrior-tui
|
||||||
|
|
||||||
|
debian:
|
||||||
|
name: Publish debian packagge
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: build
|
||||||
|
args: --release
|
||||||
|
- name: Install cargo-deb
|
||||||
|
run: cargo install cargo-deb
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build deb package
|
||||||
|
run: cargo deb -p taskwarrior-tui -o target/debian/taskwarrior-tui.deb
|
||||||
|
- name: Releasing assets
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
target/debian/taskwarrior-tui.deb
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
snap:
|
snap:
|
||||||
name: Push to snap
|
name: Push to snap
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue