Skip to content

Commit

Permalink
Update GH actions to use tasks using Node 16 (#21874)
Browse files Browse the repository at this point in the history
* Update GH actions to use tasks using Node 16

Signed-off-by: sdawley <[email protected]>

* Update node version to 16

Signed-off-by: sdawley <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nick Boldt <[email protected]>
  • Loading branch information
SDawley and nickboldt authored Jan 4, 2023
1 parent 7da8bf3 commit 28be3f1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 98 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contributing-repositories-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
check-contributing-up-to-date:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
name: Checkout che-theia source code
- name: check
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/next-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ on:
- main
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.0.11+9'
- name: Login to docker.io
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
registry: docker.io
- name: Login to quay.io
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/release-changelog.yml

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ on:
jobs:
build:
name: Create Che E2E Tests Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: '16'
registry-url: 'https://registry.npmjs.org'
scope: '@eclipse-che'
-
name: "Checkout source code"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
Expand All @@ -65,20 +65,20 @@ jobs:
fi
-
name: "Set up QEMU"
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
-
name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
-
name: "Docker quay.io Login"
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
-
name: Login to docker.io
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/typescript-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
publish:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
scope: '@eclipse-che'
- name: Clone source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: publish
Expand Down

0 comments on commit 28be3f1

Please sign in to comment.