Skip to content

Commit

Permalink
Upload spacetimedb-update as its own release artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Feb 14, 2025
1 parent 0328a4f commit e7c4659
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- master
- release/*
- noa/package-update-bin-itself

jobs:
build-cli:
Expand Down Expand Up @@ -45,13 +46,15 @@ jobs:
run: |
mkdir build
cd target/${{matrix.target}}/release
cp spacetimedb-update ../../../build/spacetimedb-update-${{matrix.target}}
tar -czf ../../../build/spacetime-${{matrix.target}}.tar.gz spacetimedb-{cli,standalone,update}
- name: Package (windows)
if: ${{ runner.os == 'Windows' }}
run: |
mkdir build
cd target/${{matrix.target}}/release
cp spacetimedb-update.exe ../../../build/spacetimedb-update-${{matrix.target}}.exe
7z a ../../../build/spacetime-${{matrix.target}}.zip spacetimedb-cli.exe spacetimedb-standalone.exe spacetimedb-update.exe
- name: Extract branch name
Expand Down

0 comments on commit e7c4659

Please sign in to comment.