This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Windows SpacetimeDB client | |
on: [push] | |
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 build/spacetime-windows-x86 | |
- name: Just testing | |
run: | | |
mkdir build | |
touch build/foo | |
find build -name foo | |
- name: Set env | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- 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://spacetimedb-client-binaries.nyc3.digitaloceanspaces.com | |
destination_dir: ${{ env.RELEASE_VERSION }} |