mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-26 12:17:19 +02:00
Update ci.yml
This commit is contained in:
parent
6ca15ae3f9
commit
f8304f9ac1
1 changed files with 25 additions and 1 deletions
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
|
@ -135,7 +135,31 @@ jobs:
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
target/debian/taskwarrior-tui.deb
|
target/debian/*.deb
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
redhat:
|
||||||
|
name: Publish redhat packagge
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: build
|
||||||
|
args: --release
|
||||||
|
- name: Install rpm
|
||||||
|
run: sudo apt-get install rpm
|
||||||
|
- name: Install cargo-rpm
|
||||||
|
run: cargo install cargo-rpm
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build rpm package
|
||||||
|
run: cargo rpm build
|
||||||
|
- name: Releasing assets
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
target/release/rpmbuild/RPMS/x86_64/*.rpm
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue