Skip to content

Update

Update #48

Workflow file for this run

name: Rust
on:
push:
branches: [ "main", "main-dev" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 && mv tailwindcss-linux-x64 tailwindcss && chmod +x tailwindcss
- run: cd frontend && npm install && npm install rollup --global && cd ..
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- run: cargo build --release
- run: cp target/release/taskwarrior-web taskwarrior-web
- uses: actions/upload-artifact@master
with:
name: tw-web
path: |
taskwarrior-web
dist