mirror of
https://onedev.site.tesses.net/crosslang/crosslangdevstudio
synced 2026-02-08 17:25:45 +00:00
Get way further
This commit is contained in:
@@ -17,13 +17,32 @@ jobs:
|
||||
commands: |
|
||||
apt update -y
|
||||
apt install -y nsis cmake g++-mingw-w64-i686-win32 make
|
||||
mkdir artifacts
|
||||
cd Packaging/Windows
|
||||
bash build.sh
|
||||
cd ../Linux
|
||||
bash build.sh
|
||||
bash publish.sh
|
||||
envVars:
|
||||
- name: GITEA_AUTH
|
||||
value: '@secret:GITEA_AUTH@'
|
||||
useTTY: true
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !PublishArtifactStep
|
||||
name: Publish Windows Artifact
|
||||
artifacts: Packaging/Windows/build/package/CrossLangDevStudio-Installer.exe
|
||||
- !SCPCommandStep
|
||||
name: Copy Files
|
||||
privateKeySecret: TRUENAS_SSH
|
||||
source: artifacts
|
||||
target: mike@@10.137.42.30:/mnt/storage24tb/Files/Public/CrossLangDevStudio/@build_number@
|
||||
options: -r
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !SSHCommandStep
|
||||
name: Link latest
|
||||
remoteMachine: 10.137.42.30
|
||||
userName: mike
|
||||
privateKeySecret: TRUENAS_SSH
|
||||
commands: |
|
||||
cd /mnt/storage24tb/Files/Public/CrossLangDevStudio
|
||||
ln -s @build_number@ latest
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
triggers:
|
||||
- !BranchUpdateTrigger
|
||||
|
||||
Reference in New Issue
Block a user