From 91a50f224ea0bde7a16b279851eaaa33ec45e19a Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:11:50 +0530 Subject: [PATCH] update ci --- .circleci/config.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3e310fae..b1d2c77a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,9 @@ jobs: NPROC: 4 COMMIT_TAG: pipeline.git.tag steps: + - add_ssh_keys: + fingerprints: + - "82:42:56:a0:57:43:95:4e:00:c0:8c:c1:7f:70:74:47" - checkout: path: ~/MBHaxe @@ -277,8 +280,13 @@ jobs: rm -rf "macos-dist/MarbleBlast Platinum.app.in" zip -r MBHaxe-Platinum-Mac.zip macos-dist/ - - store_artifacts: - path: ~/MBHaxe/MBHaxe-Platinum-Mac.zip + - run: + name: Upload to Artifact Storage + command: | + scp -o StrictHostKeyChecking=no -i $KEYPATH -P $PORT ~/MBHaxe/MBHaxe-Platinum-Mac.zip $REMOTEDIR/MBHaxe-Platinum-Mac.zip + + # - store_artifacts: + # path: ~/MBHaxe/MBHaxe-Platinum-Mac.zip build-win: executor: @@ -290,6 +298,9 @@ jobs: # Then run your tests! # CircleCI will report the results back to your VCS provider. steps: + - add_ssh_keys: + fingerprints: + - "82:42:56:a0:57:43:95:4e:00:c0:8c:c1:7f:70:74:47" - checkout - run: name: Install dependencies @@ -396,8 +407,12 @@ jobs: cd ~/project 7z a MBHaxe-Platinum-Win.zip release/ - - store_artifacts: - path: ~/project/MBHaxe-Platinum-Win.zip + - run: + name: Upload to Artifact Storage + command: | + scp -o StrictHostKeyChecking=no -i $KEYPATH -P $PORT ~/project/MBHaxe-Platinum-Win.zip $REMOTEDIR/MBHaxe-Platinum-Win.zip + # - store_artifacts: + # path: ~/project/MBHaxe-Platinum-Win.zip # Invoke jobs via workflows