ci(build): build vendored smb and refactor platform deps (#333)

This commit is contained in:
Christian Visintin
2025-03-23 15:57:54 +01:00
committed by GitHub
parent ec75ae1486
commit 23ae334bef
7 changed files with 176 additions and 93 deletions

View File

@@ -3,6 +3,9 @@ name: "Build artifacts"
on:
workflow_dispatch:
env:
TERMSCP_VERSION: "0.17.0"
jobs:
build-binaries:
name: Build - ${{ matrix.platform.release_for }}
@@ -32,11 +35,12 @@ jobs:
run: |
mkdir -p .artifact
mv target/${{ matrix.platform.target }}/release/termscp .artifact/termscp
tar -czf .artifact/termscp-v${{ env.TERMSCP_VERSION }}-${{ matrix.platform.target }}.tar.gz -C .artifact termscp
ls -l .artifact/
- name: "Upload artifact"
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
retention-days: 1
name: ${{ matrix.platform.release_for }}
path: .artifact/termscp
name: termscp-${{ matrix.platform.target }}
path: .artifact/termscp-v${{ env.TERMSCP_VERSION }}-${{ matrix.platform.target }}.tar.gz