Skip to content

Fixing syntax error #55

Fixing syntax error

Fixing syntax error #55

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:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

Check failure on line 18 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: Setting up
- 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
- name: Building
- run: |
cargo build --release
cp target/release/taskwarrior-web taskwarrior-web
tar czf tw-web-$RELEASE_NAME.tar.gz dist taskwarrior-web
- name: Release
- env:
TAG_NAME: nightly-tag-${{ steps.date.outputs.date }}
RELEASE_NAME: latest-release-${{ steps.date.outputs.date }}
uses: softprops/action-gh-release@v2
with:
prerelease: true
tag_name: ${{ env.TAG_NAME }}
files: tw-web-$RELEASE_NAME.tar.gz