[GHA-Build] Store s3 dist folders in files to use by GHA
This commit is contained in:
@@ -78,6 +78,17 @@ jobs:
|
||||
else
|
||||
./mvnw --batch-mode clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} $sts4_ls_version_param -Pgitactions -Pgpg.sign -Dmaven.test.skip=true -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dtycho.localArtifacts=ignore
|
||||
fi
|
||||
- name:
|
||||
if: ${{ inputs.build_type !== 'snapshot' }}
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLS_S3_ACCESS_KEY }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLS_S3_SECRET_KEY }}
|
||||
AWS_DEFAULT_REGION: us-east-1
|
||||
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
|
||||
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
|
||||
run: |
|
||||
dist_path=`cat ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/s3-p2-repo-dist-path.txt`
|
||||
echo $dist_path
|
||||
- name: Verify Eclipse LS Extensions on e429
|
||||
run: |
|
||||
cd eclipse-language-servers
|
||||
|
||||
@@ -387,6 +387,9 @@
|
||||
<echo file="${project.build.directory}/s3-dist-path.txt">
|
||||
${dist.path.product}
|
||||
</echo>
|
||||
<echo file="${project.build.directory}/s3-p2-repo-dist-path.txt">
|
||||
${dist.path.repo}
|
||||
</echo>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
||||
@@ -375,6 +375,9 @@
|
||||
<echo file="${project.build.directory}/s3-dist-path.txt">
|
||||
${dist.path.product}
|
||||
</echo>
|
||||
<echo file="${project.build.directory}/s3-p2-repo-dist-path.txt">
|
||||
${dist.path.repo}
|
||||
</echo>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
||||
@@ -388,6 +388,9 @@
|
||||
<echo file="${project.build.directory}/s3-dist-path.txt">
|
||||
${dist.path.product}
|
||||
</echo>
|
||||
<echo file="${project.build.directory}/s3-p2-repo-dist-path.txt">
|
||||
${dist.path.repo}
|
||||
</echo>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
||||
@@ -35,6 +35,20 @@
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-s3-upload-info</id>
|
||||
<phase>verify</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<echo file="${project.build.directory}/s3-p2-repo-dist-path.txt">
|
||||
${dist.path}
|
||||
</echo>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>upload-repo</id>
|
||||
<phase>deploy</phase>
|
||||
|
||||
Reference in New Issue
Block a user