GHA: Cleanup. Attempt to correct s3 command

This commit is contained in:
aboyko
2023-07-14 13:49:27 -04:00
parent 0a590671fc
commit 1d65a04050
7 changed files with 104 additions and 17 deletions

View File

@@ -14,6 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with
sparse-checkout: |
headless-services
eclipse-language-servers
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
with:

View File

@@ -27,6 +27,9 @@ jobs:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
ref: ${{ inputs.ref }}
sparse-checkout: |
eclipse-distribution
eclipse-extensions
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
with:
@@ -127,9 +130,9 @@ jobs:
dist_path=`cat s3-dist-path.txt`
ls spring-tool-suite-4*win*.zip*
aws s3 rm s3://dist.springsource.com/${dist_path} --exclude "*" --include "spring-tool-suite-4*win*.zip*"
aws s3 cp s3://dist.springsource.com/${dist_path} . --exclude "*" --include "spring-tool-suite-4*win*.zip*"
aws s3 rm s3://dist.springsource.com/${dist_path}/ --exclude "*" --include "spring-tool-suite-4*win*.zip*"
aws s3 cp s3://dist.springsource.com/${dist_path}/ . --exclude "*" --include "spring-tool-suite-4*win*.zip*" --acl public-read
ls spring-tool-suite-4*win*.jar*
aws s3 rm s3://dist.springsource.com/${dist_path} --exclude "*" --include "spring-tool-suite-4*win*.jar*"
aws s3 cp s3://dist.springsource.com/${dist_path} . --exclude "*" --include "spring-tool-suite-4*win*.jar*"
aws s3 rm s3://dist.springsource.com/${dist_path}/ --exclude "*" --include "spring-tool-suite-4*win*.jar*"
aws s3 cp s3://dist.springsource.com/${dist_path}/ . --exclude "*" --include "spring-tool-suite-4*win*.jar*" --acl public-read

View File

@@ -17,7 +17,7 @@ on:
jobs:
e427-distro:
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/eclipse-distro-build.yml
uses: ./.github/workflows/self-hosted-eclipse-distro-build.yml
with:
eclipse_profile: 'e427'
build_type: 'snapshot'

View File

@@ -17,7 +17,7 @@ on:
jobs:
e428-distro:
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/eclipse-distro-build.yml
uses: ./.github/workflows/self-hosted-eclipse-distro-build.yml
with:
eclipse_profile: 'e428'
build_type: 'snapshot'

View File

@@ -5,12 +5,17 @@ concurrency:
cancel-in-progress: true
on:
workflow_run:
workflows: ["Eclipse LS Extensions Snapshot Build"]
types: [completed]
branches:
- "main"
workflow_dispatch:
jobs:
e429-distro:
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/eclipse-distro-build.yml
uses: ./.github/workflows/self-hosted-eclipse-distro-build.yml
with:
eclipse_profile: 'e429'
build_type: 'snapshot'