From 68c47d4b976cb95223a87b8f3faf002abd5d17e4 Mon Sep 17 00:00:00 2001 From: Nerivec <62446222+Nerivec@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:49:02 +0100 Subject: [PATCH] Update build workflow actions. (#87) --- .github/workflows/build.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index edfcfd74..aa706f1e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,8 +21,8 @@ jobs: name: Run pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - name: Install pre-commit run: | pip install pre-commit @@ -37,9 +37,9 @@ jobs: permissions: packages: write steps: - - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4 - name: Log in to the GitHub container registry - uses: docker/login-action@v3.1.0 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} @@ -85,10 +85,10 @@ jobs: echo "image_name=$image_name" >> $GITHUB_OUTPUT echo "container_name=${{ env.REGISTRY }}/$image_name:$tag_name" >> $GITHUB_OUTPUT - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.3.0 + uses: docker/setup-buildx-action@v3 if: steps.read-repo-info.outputs.build_image == 'true' - name: Build and Push - uses: docker/build-push-action@v5.3.0 + uses: docker/build-push-action@v6 if: steps.read-repo-info.outputs.build_image == 'true' with: context: . @@ -109,7 +109,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4 - id: set-matrix run: | echo "matrix=$(find manifests -type f \( -name "*.yaml" -o -name "*.yml" \) -print | sort | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT @@ -125,7 +125,7 @@ jobs: matrix: manifest: ${{ fromJson(needs.list-manifests.outputs.matrix) }} steps: - - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4 - name: Install SDK extensions run: | @@ -181,7 +181,7 @@ jobs: apt-get install -y nodejs - name: Upload artifact - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v4 with: name: firmware-build-${{ steps.build-firmware.outputs.output_basename }} path: outputs/* @@ -204,6 +204,6 @@ jobs: pattern: firmware-build-* - name: Upload artifacts - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: artifacts/*.gbl