File tree Expand file tree Collapse file tree 2 files changed +57
-21
lines changed Expand file tree Collapse file tree 2 files changed +57
-21
lines changed Original file line number Diff line number Diff line change 1919 cd common/mirror
2020 export JQ_FILTER="[.[] | {tag_name: .tag_name, assets: [.assets[] | {browser_download_url: .browser_download_url} ] } ]"
2121 curl -H "Authorization: ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq "$JQ_FILTER" > selenium
22- - name : Set current date
23- run : echo "DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
2422 - name : Commit files
2523 id : git
2624 run : |
@@ -29,26 +27,12 @@ jobs:
2927 git config --local user.email "selenium-ci@users.noreply.github.com"
3028 git config --local user.name "Selenium CI Bot"
3129 git add common/mirror/selenium
32- git commit -m "Update mirror info (${{ env.DATE }} )" -a
30+ git commit -m "Update mirror info (`date` )" -a
3331 echo "::set-output name=commit::true"
3432 fi
35- - name : Create PR
33+ - name : Push changes
3634 if : steps.git.outputs.commit == 'true'
37- uses : peter-evans/create-pull-request@v6
35+ uses : ad-m/github-push-action@master
3836 with :
39- token : ${{ secrets.GITHUB_TOKEN }}
40- commit-message : " Update mirror info (${{ env.DATE }})"
41- title : " [ci] Update mirror info (${{ env.DATE }})"
42- body : |
43- Automated update of `common/mirror/selenium`.
44- - Trigger: ${{ github.event_name }}
45- - Committer: Selenium CI Bot
46- branch : ci/mirror-selenium-releases
47- base : trunk
48- labels : ci, automated
49- delete-branch : true
50- signoff : false
51- reviewers : |
52- bonigarcia
53- add-paths : |
54- common/mirror/selenium
37+ github_token : ${{ secrets.SELENIUM_CI_TOKEN }}
38+ branch : ${{ github.ref }}
Original file line number Diff line number Diff line change 669669 "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.12.0/selenium-server-4.12.1.zip"
670670 }
671671 ]
672+ },
673+ {
674+ "tag_name": "selenium-4.11.0",
675+ "assets": [
676+ {
677+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/IEDriverServer_Win32_4.11.0.zip"
678+ },
679+ {
680+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/IEDriverServer_x64_4.11.0.zip"
681+ },
682+ {
683+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-dotnet-4.11.0.zip"
684+ },
685+ {
686+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-dotnet-strongnamed-4.11.0.zip"
687+ },
688+ {
689+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-java-4.11.0.zip"
690+ },
691+ {
692+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-server-4.11.0.jar"
693+ },
694+ {
695+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-server-4.11.0.zip"
696+ }
697+ ]
698+ },
699+ {
700+ "tag_name": "selenium-4.10.0",
701+ "assets": [
702+ {
703+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/IEDriverServer_Win32_4.10.0.zip"
704+ },
705+ {
706+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/IEDriverServer_x64_4.10.0.zip"
707+ },
708+ {
709+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-dotnet-4.10.0.zip"
710+ },
711+ {
712+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-dotnet-strongnamed-4.10.0.zip"
713+ },
714+ {
715+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-java-4.10.0.zip"
716+ },
717+ {
718+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-server-4.10.0.jar"
719+ },
720+ {
721+ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-server-4.10.0.zip"
722+ }
723+ ]
672724 }
673725]
You can’t perform that action at this time.
0 commit comments