diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb4ec59..868ada0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,11 +33,11 @@ jobs: image: ghcr.io/boschglobal/dse-gcc-builder:main steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build package metadata id: package_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: dse/modelc tags: | @@ -93,17 +93,17 @@ jobs: runs-on: [ubuntu-latest] needs: [build, runtimes, tools] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: image_simer path: /tmp - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: image_testscript path: /tmp @@ -114,7 +114,7 @@ jobs: docker load --input /tmp/testscript.tar docker image ls -a - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ env.package_name }}-linux-amd64-sandbox path: . @@ -141,13 +141,13 @@ jobs: - windows-x64 - windows-x86 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Build package metadata id: package_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: dse/modelc tags: | @@ -160,7 +160,7 @@ jobs: run: | echo "PACKAGE_VERSION=${{ fromJSON(steps.package_meta.outputs.json).labels['org.opencontainers.image.version'] }}" >> $GITHUB_ENV - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ env.package_name }}-${{ matrix.package_arch }}-package path: ${{ env.build_dir }}/_dist @@ -190,7 +190,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: image_${{ matrix.container }} path: /tmp @@ -211,7 +211,7 @@ jobs: - testscript steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Log in to the Container registry uses: docker/login-action@v2 @@ -225,7 +225,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}-${{ matrix.container }} tags: | @@ -264,7 +264,7 @@ jobs: needs: [build] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Log in to the Container registry uses: docker/login-action@v2 @@ -278,7 +278,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}-simer tags: | @@ -291,15 +291,15 @@ jobs: run: | echo "PACKAGE_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}" >> $GITHUB_ENV - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ env.package_name }}-linux-amd64-sandbox path: sandbox/ModelC-linux-amd64-sandbox - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ env.package_name }}-linux-x86-sandbox path: sandbox/ModelC-linux-x86-sandbox - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ env.package_name }}-linux-i386-sandbox path: sandbox/ModelC-linux-i386-sandbox @@ -365,7 +365,7 @@ jobs: arch: linux-amd64 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Log in to the Container registry uses: docker/login-action@v2 @@ -379,7 +379,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}-${{ matrix.name }} tags: | @@ -392,7 +392,7 @@ jobs: run: | echo "PACKAGE_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}" >> $GITHUB_ENV - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ env.package_name }}-${{ matrix.arch }}-sandbox path: .