Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uplift: GHA version and use correct parameter #3919

Merged
merged 3 commits into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/autoTestPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: startsWith(github.event.comment.body, 'auto exclude test')
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: check python version
Expand All @@ -18,11 +18,11 @@ jobs:
run: |
pip install lxml
- name: checkout current repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: 'tests'
- name: checkout TKG repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: 'adoptium/TKG.git'
ref: 'master'
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
curl -u github-actions:${{ secrets.GITHUB_TOKEN }} -d '{ "body": "The specified test cannot be excluded. Action run: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" }' -X POST ${{ github.event.issue.comments_url }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
path: 'tests'
title: '${{ github.event.comment.body }}'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/directoriesFilesChangePR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
outputs:
buildLists: ${{ steps.locations_parse.outputs.build_lists }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: jitterbit/get-changed-files@v1
id: get_change
continue-on-error: true
Expand Down Expand Up @@ -45,14 +45,14 @@ jobs:
source: 'nightly'
impl: ${{ matrix.impl }}
- name: AQA
uses: adoptium/run-aqa@v1
uses: adoptium/run-aqa@v2
with:
build_list: ${{ matrix.build_list }}
target: '_sanity.regular'
jdksource: 'install-jdk'
version: ${{ matrix.version }}
openjdk_testRepo: '${{ github.event.pull_request.head.repo.full_name }}:${{ github.head_ref }}'
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: output_changed_based_build_list
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/parse-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
AQA_ISSUE_TRACKER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: checkout current repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: install reqs
run: |
pip install -r scripts/disabled_tests/requirements.txt
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/runAqa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
id: workflow_run_info
# Checkout current repo to access the repo-specific config file `.github/workflows/runAqaConfig.json`
- name: Checkout current repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: 'main'
# Checkout the main TKG repo to access the shared script `scripts/testRepo/runAqaArgParse.py`
- name: Checkout main TKG repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: 'adoptium/TKG.git'
ref: 'master'
Expand All @@ -47,7 +47,7 @@ jobs:
id: output_log
- name: Create error comment
if: failure()
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -69,7 +69,7 @@ jobs:
run: echo ::set-output name=failed::true
id: failure_report
- name: Create success comment
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
sourceType: 'url'
impl: ${{ matrix.jdk_impl }}
# get-pr step by @Simran-B https://github.com/actions/checkout/issues/331#issuecomment-707103442
- uses: actions/github-script@v3
- uses: actions/github-script@v6
id: get-pr
with:
script: |
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
if: failure() && !needs.parseComment.outputs.failed
steps:
- name: Create comment
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -187,7 +187,7 @@ jobs:
if: cancelled()
steps:
- name: Create comment
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -208,7 +208,7 @@ jobs:
if: success()
steps:
- name: Create comment
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down