Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/web-tui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,30 @@ jobs:
with:
tool: trunk@0.21.14

- name: Install cargo-get
uses: taiki-e/install-action@7a79fe8c3a13344501c80d99cae481c1c9085912 # v2.81.10
with:
tool: cargo-get@1.4.0

- name: Get package.version
id: cargo_metadata
run: |
set -x
rsync --version
BALLISTA_VERSION=$(cargo get --entry ballista/core/ package.version)
echo "ballista_version=${BALLISTA_VERSION}" >> "$GITHUB_OUTPUT"

- name: Build
working-directory: ballista-cli
run: |
trunk build --cargo-profile release-nonlto --minify --locked \
--no-default-features --features web

- name: Deploy to Nightlies
#if: ${{ github.ref == 'refs/heads/main' }}
run: |
rsync -rlptDvz -e "ssh -p ${{ secrets.NIGHTLIES_RSYNC_PORT }} -l ${{ secrets.NIGHTLIES_RSYNC_USER }} -i ${{ secrets.NIGHTLIES_RSYNC_KEY }}" target/web-tui/* nightlies.apache.org:/datafusion/ballista/tui/${{ steps.cargo_metadata.outputs.ballista_version }}/

- name: Upload WASM32 application
uses: actions/upload-artifact@v7
with:
Expand Down
Loading