Allow setting JDKHttpClient connectionTimeout, readTimeout, version via system property #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Staging | |
on: | |
pull_request: | |
types: [closed] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
github-release: | |
if: > | |
github.event.pull_request.merged == true && | |
github.repository_owner == 'seleniumhq' && | |
startsWith(github.event.pull_request.head.ref, 'release-preparation-') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Extract version from branch name | |
id: extract_version | |
run: | | |
BRANCH_NAME="${{ github.event.pull_request.head.ref }}" | |
VERSION=$(echo $BRANCH_NAME | grep -oE '[0-9]+\.[0-9]+\.[0-9]+') | |
echo "VERSION=$VERSION" >> $GITHUB_ENV | |
- name: Prep git | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Selenium CI Bot" | |
- name: Tag Release | |
run: | | |
git tag selenium-${{ env.VERSION }} | |
git push origin selenium-${{ env.VERSION }} | |
- name: Update Nightly Tag to Remove pre-release | |
run: | | |
git fetch --tags | |
git tag -d nightly || echo "Nightly tag not found" | |
git tag nightly | |
git push origin refs/tags/nightly --force | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Build and Stage Packages | |
run: ./go all:package[--config=release] | |
- name: Generate Draft Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: Selenium ${{ env.VERSION }} | |
body: | | |
## Detailed Changelogs by Component | |
<img src="https://www.selenium.dev/images/programming/java.svg" width="20" height="20"> **[Java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)** | <img src="https://www.selenium.dev/images/programming/python.svg" width="20" height="20"> **[Python](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)** | <img src="https://www.selenium.dev/images/programming/csharp.svg" width="20" height="20"> **[DotNet](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)** | <img src="https://www.selenium.dev/images/programming/ruby.svg" width="20" height="20"> **[Ruby](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)** | <img src="https://www.selenium.dev/images/programming/javascript.svg" width="20" height="20"> **[JavaScript](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md)** | <img src="https://www.selenium.dev/images/browsers/internet-explorer.svg" width="20" height="20"> **[IEDriver](https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG)** | |
<br> | |
tag_name: selenium-${{ env.VERSION }} | |
draft: true | |
generate_release_notes: true | |
prerelease: false | |
files: build/dist/*.* | |
update-documentation: | |
needs: github-release | |
uses: ./.github/workflows/update-documentation.yml | |
with: | |
tag: selenium-${{ needs.github-release.outputs.version }} |