Skip to content

Commit 7454a42

Browse files
authored
ci: bump marketplace actions due to deprecations (#19126)
1 parent df2b061 commit 7454a42

29 files changed

+175
-153
lines changed

.github/actions/build-and-push-branch/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
branch_version_tag: ${{ inputs.branch_version_tag }}
2121

2222
- name: Login to Docker (on Master)
23-
uses: docker/login-action@v1
23+
uses: docker/login-action@v2
2424
with:
2525
username: ${{ inputs.dockerhub_username }}
2626
password: ${{ inputs.dockerhub_token }}

.github/actions/build-branch/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ runs:
2020
[[ "${{ inputs.branch_version_tag }}" != '' ]] && echo "branch_version_tag=${{ inputs.branch_version_tag }}" >> $GITHUB_OUTPUT \
2121
|| { short_hash=$(git rev-parse --short=10 HEAD); echo "branch_version_tag=dev-$short_hash" >> $GITHUB_OUTPUT ; }
2222
23-
- uses: actions/setup-java@v1
23+
- uses: actions/setup-java@v3
2424
with:
25+
distribution: "zulu"
2526
java-version: "17"
2627

27-
- uses: actions/setup-node@v2
28+
- uses: actions/setup-node@v3
2829
with:
2930
node-version: "lts/gallium"
3031

31-
- uses: actions/setup-python@v2
32+
- uses: actions/setup-python@v4
3233
with:
3334
python-version: "3.9"
3435

.github/actions/cache-build-artifacts/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
steps:
1515
- name: Pip Caching
1616
if: ${{ inputs.cache_python }} == 'true'
17-
uses: actions/cache@v2
17+
uses: actions/cache@v3
1818
with:
1919
path: |
2020
~/.cache/pip
@@ -23,7 +23,7 @@ runs:
2323
${{ inputs.cache-key }}-pip-${{ runner.os }}-
2424
2525
- name: Npm Caching
26-
uses: actions/cache@v2
26+
uses: actions/cache@v3
2727
with:
2828
path: |
2929
~/.npm
@@ -33,7 +33,7 @@ runs:
3333
3434
# this intentionally does not use restore-keys so we don't mess with gradle caching
3535
- name: Gradle and Python Caching
36-
uses: actions/cache@v2
36+
uses: actions/cache@v3
3737
with:
3838
path: |
3939
~/.gradle/caches

.github/actions/ci-tests-runner/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ runs:
2727
using: "composite"
2828
steps:
2929
- name: Set up Python
30-
uses: actions/setup-python@v2
30+
uses: actions/setup-python@v4
3131
with:
3232
python-version: 3.9
3333

3434
- name: Install Java
35-
uses: actions/setup-java@v1
35+
uses: actions/setup-java@v3
3636
with:
37+
distribution: "zulu"
3738
java-version: "17"
3839

3940
- name: Tests of CI

.github/workflows/build-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
environment: more-secrets
1919
steps:
2020
- name: Checkout Airbyte
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip

.github/workflows/commands-for-testing-tool.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
command: ${{ steps.regex.outputs.first_match }}
1515
steps:
1616
- name: Checkout Airbyte
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- name: Check PAT rate limits
1919
run: |
2020
./tools/bin/find_non_rate_limited_PAT \
@@ -97,7 +97,7 @@ jobs:
9797
comment-id: ${{ needs.set-params.outputs.comment-id }}
9898
reactions: eyes, rocket
9999
- name: Checkout Airbyte
100-
uses: actions/checkout@v2
100+
uses: actions/checkout@v3
101101
with:
102102
repository: ${{ needs.set-params.outputs.repo }}
103103
ref: ${{ needs.set-params.outputs.ref }}

.github/workflows/connector_integration_tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
schedule:
88
# 11am UTC is 4am PDT.
9-
- cron: '0 11 * * *'
9+
- cron: "0 11 * * *"
1010

1111
jobs:
1212
launch_integration_tests:
@@ -15,11 +15,12 @@ jobs:
1515
if: github.ref == 'refs/heads/master'
1616
steps:
1717
- name: Checkout Airbyte
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
- name: Install Java
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@v3
2121
with:
22-
java-version: '17'
22+
distribution: "zulu"
23+
java-version: "17"
2324
- name: Install dependencies
2425
run: |
2526
python -m pip install --upgrade pip

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
echo -e "$CHANGELOG" >> $GITHUB_ENV
5858
echo "EOF" >> $GITHUB_ENV
5959
- name: Checkout Airbyte
60-
uses: actions/checkout@v2
60+
uses: actions/checkout@v3
6161
- name: Get Version
6262
id: get_version
6363
shell: bash

.github/workflows/deploy-docs-site.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
paths:
8-
- 'docs/**'
8+
- "docs/**"
99

1010
# Allows you to run this workflow manually from the Actions tab
1111
workflow_dispatch:
@@ -23,10 +23,10 @@ jobs:
2323

2424
# Node.js is needed for Yarn
2525
- name: Setup Yarn
26-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v3
2727
with:
28-
node-version: '16.14.0'
29-
cache: 'yarn'
28+
node-version: "16.14.0"
29+
cache: "yarn"
3030
cache-dependency-path: docusaurus
3131

3232
- name: Run Docusaurus

.github/workflows/deploy-oss-catalog.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
paths:
7+
paths:
88
- airbyte-config/init/src/main/resources/seed/**
99

1010
workflow_dispatch:
@@ -17,15 +17,16 @@ jobs:
1717
concurrency: deploy-oss-connector-catalog
1818
steps:
1919
- name: Checkout Airbyte
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
- name: Setup Cloud SDK
2222
uses: google-github-actions/setup-gcloud@v0
2323
with:
2424
service_account_key: ${{ secrets.PROD_SPEC_CACHE_SA_KEY }}
2525
export_default_credentials: true
2626
- name: Install Java
27-
uses: actions/setup-java@v1
27+
uses: actions/setup-java@v3
2828
with:
29+
disribution: "zulu"
2930
java-version: "17"
3031
- name: Generate catalog
3132
run: SUB_BUILD=PLATFORM ./gradlew :airbyte-config:init:processResources

0 commit comments

Comments
 (0)