From 88a4b6156022dfca299390fdaaeb608727543669 Mon Sep 17 00:00:00 2001 From: GroG Date: Sun, 3 Nov 2024 13:17:49 -0800 Subject: [PATCH] moved def --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d26014c..3e046776 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,9 +74,6 @@ jobs: EOF - S3_POM_URI="s3://myrobotlab-repo/artifactory/myrobotlab/fr/inmoov/inmoov2/${{ env.artifact-version }}/pom-${{ env.artifact-version }}.xml" - aws s3 cp "target/pom-${{ env.artifact-version }}.xml" "$S3_POM_URI" - - name: Upload to S3. env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -84,6 +81,9 @@ jobs: AWS_REGION: "us-east-1" # s3://myrobotlab-repo/artifactory/myrobotlab/fr/inmoov/inmoov2/2.0.1897/inmoov2-2.0.1897.zip run: | + S3_POM_URI="s3://myrobotlab-repo/artifactory/myrobotlab/fr/inmoov/inmoov2/${{ env.artifact-version }}/pom-${{ env.artifact-version }}.xml" + aws s3 cp "target/pom-${{ env.artifact-version }}.xml" "$S3_POM_URI" + S3_URI="s3://myrobotlab-repo/artifactory/myrobotlab/fr/inmoov/inmoov2/${{ env.artifact-version }}/inmoov2-${{ env.artifact-version }}.zip" aws s3 cp "target/inmoov2-${{ env.artifact-version }}.zip" "$S3_URI"