[GHA] VSCode snapshot builds
This commit is contained in:
61
.github/workflows/snapshot-all.yml
vendored
Normal file
61
.github/workflows/snapshot-all.yml
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
name: Snapshot - Eclipse LS Extensions
|
||||
|
||||
concurrency:
|
||||
group: snapshot-all
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
|
||||
eclipse-ls-extensions:
|
||||
uses: ./.github/workflows/eclipse-ls-extensions-build.yml
|
||||
with:
|
||||
eclipse_profile: 'e431'
|
||||
build_type: 'snapshot'
|
||||
skip_tests: true
|
||||
secrets: inherit
|
||||
|
||||
e431-distro:
|
||||
needs: [ eclipse-ls-extensions ]
|
||||
uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
|
||||
with:
|
||||
eclipse_profile: 'e431'
|
||||
build_type: 'snapshot'
|
||||
java_version: '17'
|
||||
secrets: inherit
|
||||
|
||||
e432-distro:
|
||||
needs: [ eclipse-ls-extensions ]
|
||||
uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
|
||||
with:
|
||||
eclipse_profile: 'e432'
|
||||
build_type: 'snapshot'
|
||||
java_version: '21'
|
||||
secrets: inherit
|
||||
|
||||
e433-distro:
|
||||
needs: [ eclipse-ls-extensions ]
|
||||
uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
|
||||
with:
|
||||
eclipse_profile: 'e433'
|
||||
build_type: 'snapshot'
|
||||
java_version: '21'
|
||||
secrets: inherit
|
||||
|
||||
vscode-spring-boot:
|
||||
uses: ./.github/workflows/snapshot-vscode-extension.yml
|
||||
with:
|
||||
extension-name: vscode-spring-boot
|
||||
secrets: inherit
|
||||
|
||||
vscode-concourse:
|
||||
uses: ./.github/workflows/snapshot-vscode-extension.yml
|
||||
with:
|
||||
extension-name: vscode-concourse
|
||||
secrets: inherit
|
||||
|
||||
@@ -6,9 +6,9 @@ concurrency:
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
# push:
|
||||
# branches:
|
||||
# - 'main'
|
||||
|
||||
jobs:
|
||||
eclipse-ls-extensions:
|
||||
|
||||
16
.github/workflows/snapshot-vscode-extension.yml
vendored
16
.github/workflows/snapshot-vscode-extension.yml
vendored
@@ -7,6 +7,12 @@ on:
|
||||
description: name of the extension, e.g. vscode-spring-cli
|
||||
required: true
|
||||
type: string
|
||||
workflow_call:
|
||||
inputs:
|
||||
extension-name:
|
||||
description: name of the extension, e.g. vscode-spring-cli
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -51,8 +57,12 @@ jobs:
|
||||
run: |
|
||||
downloads_html="vscode-extensions-snippet.html"
|
||||
echo '<ul>' >> $downloads_html
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-boot "Spring Boot Tools" $DOWNLOAD_URL_ROOT`
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-concourse "Concourse" $DOWNLOAD_URL_ROOT`
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-boot "Spring Boot Tools" $DOWNLOAD_URL_ROOT` >> $downloads_html
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-concourse "Concourse Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-bosh "Bosh Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-manifest-yaml "CF Mnaifest Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
|
||||
echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-cli "Spring CLI" $DOWNLOAD_URL_ROOT` >> $downloads_html
|
||||
echo '</ul>' >> $downloads_html
|
||||
cat ./$downloads_html
|
||||
cat ./$downloads_html
|
||||
aws s3 mv ./$downloads_html s3://$AWS_S3_BUCKET/snapshot/STS4/vscode-extensions/ --no-progress
|
||||
|
||||
|
||||
Reference in New Issue
Block a user