GHA: Agg Update Site work
This commit is contained in:
@@ -4,12 +4,12 @@ concurrency:
|
||||
group: eclipse-ls-extension-snapshot
|
||||
cancel-in-progress: true
|
||||
|
||||
#on:
|
||||
# workflow_dispatch:
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
workflow_dispatch:
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - 'main'
|
||||
|
||||
jobs:
|
||||
eclipse-ls-extensions:
|
||||
|
||||
32
.github/workflows/update-aggregate-update-sites.yml
vendored
Normal file
32
.github/workflows/update-aggregate-update-sites.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Update Aggregate Update Sites
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: Version suffix in S3
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
|
||||
update-aggregate-update-sites:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
||||
with:
|
||||
sparse-checkout: |
|
||||
.github
|
||||
- name: Generate and Upload Aggregate Update Sites Data
|
||||
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: |
|
||||
dirs=`aws s3 cp s3://dist.springsource.com/release/TOOLS/sts4/update/$version . --recursive --include "*" --exclude "*/*" --dryrun`
|
||||
for dir in $dirs
|
||||
do
|
||||
echo $dir
|
||||
done
|
||||
Reference in New Issue
Block a user