Skip to content

Commit

Permalink
Update GitHub actions to versions using Node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
hefroy committed Feb 8, 2024
1 parent daa51bd commit 725fe7c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .github/template/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ inputs:
runs:
using: "composite"
steps:
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: aws-actions/configure-aws-credentials@v4
if:
github.repository == 'aws/aws-iot-fleetwise-edge' && (github.ref_type == 'tag' || github.ref
Expand All @@ -28,10 +28,10 @@ runs:
with:
registry-type: public
- id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: public.ecr.aws/aws-iot-fleetwise-edge/${{ inputs.dist-name }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v5
with:
context: .
file: "./tools/container/Dockerfile"
Expand Down
4 changes: 2 additions & 2 deletions .github/template/fwe-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
steps:
- name: cache-deps
id: cache-deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: cache
# prettier-ignore
Expand Down Expand Up @@ -65,7 +65,7 @@ runs:
./tools/test-fwe.sh ${{ inputs.extra-options }}
- name: upload-artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.dist-name }}-${{ inputs.upload-arch }}
path: |
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
linting:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- run: sudo apt-get install expect
Expand All @@ -32,7 +32,7 @@ jobs:
build-amd64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "native"
Expand All @@ -44,7 +44,7 @@ jobs:
build-arm64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "cross-arm64"
Expand All @@ -56,7 +56,7 @@ jobs:
build-armhf:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "cross-armhf"
Expand All @@ -69,7 +69,7 @@ jobs:
build-ros2-amd64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "native"
Expand All @@ -82,7 +82,7 @@ jobs:
build-ros2-arm64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "cross-arm64"
Expand All @@ -95,7 +95,7 @@ jobs:
build-ros2-armhf:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "cross-armhf"
Expand All @@ -108,7 +108,7 @@ jobs:
build-android:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: "./.github/template/fwe-build"
with:
build-arch: "cross-android"
Expand All @@ -131,7 +131,7 @@ jobs:
cd tools/android-app
unset ANDROID_SDK_ROOT
ANDROID_HOME=/usr/local/android_sdk ./gradlew assembleRelease
- uses: aws-actions/configure-aws-credentials@v2
- uses: aws-actions/configure-aws-credentials@v4
if: github.repository == 'aws/aws-iot-fleetwise-edge' && github.event_name == 'push'
with:
role-to-assume: ${{ secrets.ANDROID_SIGNING_ROLE }}
Expand All @@ -155,7 +155,7 @@ jobs:
shred -u ~/android-signing.jks
- name: upload-artifacts
if: github.repository == 'aws/aws-iot-fleetwise-edge' && github.event_name == 'push'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-android-app
path: |
Expand All @@ -173,8 +173,8 @@ jobs:
- build-arm64
- build-armhf
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- name: Move artifacts to match buildx TARGETPLATFORM structure
run: |
mkdir -p linux/amd64
Expand All @@ -198,8 +198,8 @@ jobs:
- build-ros2-arm64
- build-ros2-armhf
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- name: Move artifacts to match buildx TARGETPLATFORM structure
run: |
mkdir -p linux/amd64
Expand All @@ -222,8 +222,8 @@ jobs:
github.repository == 'aws/aws-iot-fleetwise-edge' && (github.ref_type == 'tag' ||
(github.event_name == 'push' && github.ref == 'refs/heads/main'))
steps:
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v2
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.CFN_TEMPLATES_COPY_ROLE }}
aws-region: us-east-1
Expand Down

0 comments on commit 725fe7c

Please sign in to comment.