Skip to content

Version Upgrade to 0.7.0 (#355) #41

Version Upgrade to 0.7.0 (#355)

Version Upgrade to 0.7.0 (#355) #41

Workflow file for this run

name: Build Windows SpacetimeDB client
on:
push:
tags:
- '**'
branches:
- master
jobs:
windows-client:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Show arch
run: uname -a
- name: Compile
run: |
cargo build --release -p spacetimedb-cli
mkdir build
mv target/release/spacetime.exe build/spacetime.exe
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Upload to DO Spaces
uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ vars.AWS_BUCKET }}
source_dir: build
endpoint: https://nyc3.digitaloceanspaces.com
destination_dir: ${{ steps.extract_branch.outputs.branch }}