Skip to content
Merged

Win3 #15

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
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Build native spp-cli
run: gradle assemble nativeImage -Dbuild.profile=release

- name: "[CLI] Get version"
run: ./build/graal/spp-cli -v version

- name: Compress CLI
uses: svenstaro/upx-action@v2
with:
Expand Down Expand Up @@ -57,6 +60,10 @@ jobs:
- name: Build native spp-cli.exe
run: ./gradlew assemble nativeImage '-Dbuild.profile=release'
shell: powershell

- name: "[CLI] Get version"
run: ./build/graal/spp-cli -v version

- name: Run UPX
uses: crazy-max/ghaction-upx@v1.3.3
with:
Expand Down Expand Up @@ -103,6 +110,8 @@ jobs:
- name: Set SPP_PLATFORM_HOST
run: SPP_PLATFORM_HOST=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aqf "name=spp-platform")) && echo "SPP_PLATFORM_HOST=$SPP_PLATFORM_HOST" >> $GITHUB_ENV

- name: "[CLI] Get version"
run: ./build/graal/spp-cli -v version
- name: "[CLI] Get developers"
run: ./build/graal/spp-cli -v admin get-developers
- name: "[CLI] Add developer"
Expand Down