Prepare to build releases from branches
This commit is contained in:
@@ -53,10 +53,10 @@ jobs:
|
||||
echo "Found ${dir}"
|
||||
dir_name=${dir:0:-1}
|
||||
site_url="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/${{ inputs.version }}/${dir_name}"
|
||||
if [[ ${dir_name} == "e4.32" ]]; then
|
||||
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url true
|
||||
if [[ ${dir_name} == "e4.30" ]] || ; then
|
||||
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url
|
||||
else
|
||||
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url
|
||||
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url true
|
||||
fi
|
||||
cat ./compositeArtifacts.xml
|
||||
cat ./compositeContent.xml
|
||||
|
||||
7
.github/workflows/build-vscode-extension.yml
vendored
7
.github/workflows/build-vscode-extension.yml
vendored
@@ -12,6 +12,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: snapshot
|
||||
ref:
|
||||
description: Git branch, tag, commit hash
|
||||
required: false
|
||||
default: 'main'
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -23,6 +28,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout vscode-extensions code and workflow scripts
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
|
||||
@@ -40,6 +40,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
sparse-checkout: |
|
||||
.github
|
||||
headless-services
|
||||
|
||||
@@ -11,6 +11,11 @@ on:
|
||||
description: Last segments of an s3 path for p2 Repo for eclipse ls extensions
|
||||
required: true
|
||||
type: string
|
||||
ref:
|
||||
description: Git branch, tag, commit hash
|
||||
required: false
|
||||
default: 'main'
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -21,6 +26,7 @@ jobs:
|
||||
build_type: 'release'
|
||||
p2-qualifier: 'RELEASE'
|
||||
sts4-language-servers-version: ${{ inputs.sts4-language-servers-version }}
|
||||
ref: ${{ inputs.ref }}
|
||||
java_version: '17'
|
||||
secrets: inherit
|
||||
|
||||
@@ -31,6 +37,7 @@ jobs:
|
||||
build_type: 'release'
|
||||
p2-qualifier: 'RELEASE'
|
||||
sts4-language-servers-version: ${{ inputs.sts4-language-servers-version }}
|
||||
ref: ${{ inputs.ref }}
|
||||
java_version: '21'
|
||||
secrets: inherit
|
||||
|
||||
@@ -41,5 +48,6 @@ jobs:
|
||||
build_type: 'release'
|
||||
p2-qualifier: 'RELEASE'
|
||||
sts4-language-servers-version: ${{ inputs.sts4-language-servers-version }}
|
||||
ref: ${{ inputs.ref }}
|
||||
java_version: '21'
|
||||
secrets: inherit
|
||||
|
||||
@@ -11,6 +11,11 @@ on:
|
||||
description: Last segments of an s3 path for p2 Repo for eclipse ls extensions
|
||||
required: true
|
||||
type: string
|
||||
ref:
|
||||
description: Git branch, tag, commit hash
|
||||
required: false
|
||||
default: 'main'
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -21,4 +26,5 @@ jobs:
|
||||
build_type: 'release'
|
||||
skip_tests: true
|
||||
sts4-language-servers-version: ${{ inputs.sts4-language-servers-version }}
|
||||
ref: ${{ inputs.ref }}
|
||||
secrets: inherit
|
||||
|
||||
@@ -11,6 +11,11 @@ on:
|
||||
description: For example "RC1"
|
||||
required: true
|
||||
type: string
|
||||
ref:
|
||||
description: Git branch, tag, commit hash
|
||||
required: false
|
||||
default: 'main'
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -24,6 +29,7 @@ jobs:
|
||||
- name: Checkout vscode-extension '${{ inputs.extension-name }}'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
sparse-checkout: |
|
||||
vscode-extensions/${{ inputs.extension-name }}
|
||||
- name: Record Extension Version
|
||||
@@ -50,4 +56,5 @@ jobs:
|
||||
with:
|
||||
extension-name: ${{ inputs.extension-name }}
|
||||
dist: 'release'
|
||||
ref: ${{ inputs.ref }}
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user