Skip to content

Commit 28be3f1

Browse files
SDawleynickboldt
andauthoredJan 4, 2023
Update GH actions to use tasks using Node 16 (#21874)
* Update GH actions to use tasks using Node 16 Signed-off-by: sdawley <sdawley@redhat.com> * Update node version to 16 Signed-off-by: sdawley <sdawley@redhat.com> * delete release-changelog.yml as no longer used delete release-changelog.yml as no longer used (release notes generated by hand now) * Delete release-changelog.yml * Update .github/workflows/next-build.yml * Update .github/workflows/typescript-publish.yml * Update .github/workflows/release.yml Signed-off-by: sdawley <sdawley@redhat.com> Co-authored-by: Nick Boldt <nboldt@redhat.com>
1 parent 7da8bf3 commit 28be3f1

5 files changed

+17
-98
lines changed
 

‎.github/workflows/contributing-repositories-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
check-contributing-up-to-date:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2626
name: Checkout che-theia source code
2727
- name: check
2828
run: |

‎.github/workflows/next-build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ on:
1616
- main
1717
jobs:
1818
build:
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-22.04
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
with:
2323
fetch-depth: 0
2424
- name: Cache local Maven repository
25-
uses: actions/cache@v2
25+
uses: actions/cache@v3
2626
with:
2727
path: ~/.m2/repository
2828
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2929
restore-keys: |
3030
${{ runner.os }}-maven-
3131
- name: Set up JDK 11
32-
uses: actions/setup-java@v2
32+
uses: actions/setup-java@v3
3333
with:
3434
distribution: 'adopt'
3535
java-version: '11.0.11+9'
3636
- name: Login to docker.io
37-
uses: docker/login-action@v1
37+
uses: docker/login-action@v2
3838
with:
3939
username: ${{ secrets.DOCKERHUB_USERNAME }}
4040
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4141
registry: docker.io
4242
- name: Login to quay.io
43-
uses: docker/login-action@v1
43+
uses: docker/login-action@v2
4444
with:
4545
username: ${{ secrets.QUAY_USERNAME }}
4646
password: ${{ secrets.QUAY_PASSWORD }}

‎.github/workflows/release-changelog.yml

-81
This file was deleted.

‎.github/workflows/release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ on:
3131
jobs:
3232
build:
3333
name: Create Che E2E Tests Release
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3535
steps:
36-
- uses: actions/setup-node@v1
36+
- uses: actions/setup-node@v3
3737
with:
38-
node-version: '12'
38+
node-version: '16'
3939
registry-url: 'https://registry.npmjs.org'
4040
scope: '@eclipse-che'
4141
-
4242
name: "Checkout source code"
43-
uses: actions/checkout@v2
43+
uses: actions/checkout@v3
4444
with:
4545
fetch-depth: 0
4646
-
@@ -65,20 +65,20 @@ jobs:
6565
fi
6666
-
6767
name: "Set up QEMU"
68-
uses: docker/setup-qemu-action@v1
68+
uses: docker/setup-qemu-action@v2
6969
-
7070
name: "Set up Docker Buildx"
71-
uses: docker/setup-buildx-action@v1
71+
uses: docker/setup-buildx-action@v2
7272
-
7373
name: "Docker quay.io Login"
74-
uses: docker/login-action@v1
74+
uses: docker/login-action@v2
7575
with:
7676
registry: quay.io
7777
username: ${{ secrets.QUAY_USERNAME }}
7878
password: ${{ secrets.QUAY_PASSWORD }}
7979
-
8080
name: Login to docker.io
81-
uses: docker/login-action@v1
81+
uses: docker/login-action@v2
8282
with:
8383
registry: docker.io
8484
username: ${{ secrets.DOCKERHUB_USERNAME }}

‎.github/workflows/typescript-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
publish:
2424
runs-on: ubuntu-22.04
2525
steps:
26-
- uses: actions/setup-node@v1
26+
- uses: actions/setup-node@v3
2727
with:
2828
node-version: '16'
2929
registry-url: 'https://registry.npmjs.org'
3030
scope: '@eclipse-che'
3131
- name: Clone source code
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333
with:
3434
fetch-depth: 0
3535
- name: publish

0 commit comments

Comments
 (0)
Please sign in to comment.