Skip to content

Commit

Permalink
I do not like YML
Browse files Browse the repository at this point in the history
  • Loading branch information
tmahmood authored Jul 25, 2024
1 parent 3d5d347 commit 5a0e837
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,21 @@ jobs:
env:
TAG_NAME: nightly-tag-${{ steps.date.outputs.date }}
RELEASE_NAME: latest-release-${{ steps.date.outplatestte }}
- 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
cp target/release/taskwarrior-web taskwarrior-web
tar czf tw-web-$RELEASE_NAME.tar.gz dist taskwarrior-web
- 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
uses: softprops/action-gh-release@v2
with:
- name: Publish Release
uses: softprops/action-gh-release@v2
with:
prerelease: true
tag_name: ${{ env.TAG_NAME }}
files: tw-web-$RELEASE_NAME.tar.gz

uses: softprops/action-gh-release@v2
prerelease: true
tag_name: ${{ env.TAG_NAME }}
files: tw-web-$RELEASE_NAME.tar.gz

0 comments on commit 5a0e837

Please sign in to comment.