From 927c05bda37218c5a165b1fe8a32ea2bba7cf749 Mon Sep 17 00:00:00 2001 From: ReinerSchinkoethe <157693339+ReinerSchinkoethe@users.noreply.github.com> Date: Fri, 7 Nov 2025 11:24:39 +0100 Subject: [PATCH 1/2] chore: update signing key to version 2 --- .github/workflows/application-example-release-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/application-example-release-workflow.yml b/.github/workflows/application-example-release-workflow.yml index 3c77358..f9eb3f4 100644 --- a/.github/workflows/application-example-release-workflow.yml +++ b/.github/workflows/application-example-release-workflow.yml @@ -59,7 +59,7 @@ jobs: - name: Pack the template uses: simatic-ax/actions/apax-pack@v3 with: - key: ${{ secrets.APAX_SIGNKEY }} + key: ${{ secrets.APAX_SIGNKEY_V2 }} path: ${{ env.TEMPLATE_PATH }} - name: Login to required registries @@ -75,4 +75,4 @@ jobs: registries: | https://npm.pkg.github.com tag: latest - path: ${{ env.TEMPLATE_PATH }} \ No newline at end of file + path: ${{ env.TEMPLATE_PATH }} From fd1a87a3f7c2b5bc1df5a9659df0af403b4dd011 Mon Sep 17 00:00:00 2001 From: Reiner Schinkoethe Date: Wed, 19 Nov 2025 07:15:07 +0100 Subject: [PATCH 2/2] fix: use v4 actions and newer apax image --- .../application-example-release-workflow.yml | 17 +++++++++-------- .../workflows/package-development-workflow.yml | 10 +++++----- .gitignore | 1 + 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/application-example-release-workflow.yml b/.github/workflows/application-example-release-workflow.yml index f9eb3f4..150f2b7 100644 --- a/.github/workflows/application-example-release-workflow.yml +++ b/.github/workflows/application-example-release-workflow.yml @@ -28,7 +28,7 @@ jobs: needs: call-development runs-on: ubuntu-24.04 container: - image: ghcr.io/simatic-ax/ci-images/apax-ci-image:3.5.0 + image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.2.0 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -41,36 +41,37 @@ jobs: fetch-depth: 0 - name: Version package - uses: simatic-ax/actions/apax-version@v3 + uses: simatic-ax/actions/apax-version@v4 with: version: ${{ github.event.release.tag_name }} - name: Templatify repository - uses: simatic-ax/actions/apax-templatify@v3 + uses: simatic-ax/actions/apax-templatify@v4 with: version: ${{ github.event.release.tag_name }} - name: Version package - uses: simatic-ax/actions/apax-version@v3 + uses: simatic-ax/actions/apax-version@v4 with: version: ${{ github.event.release.tag_name }} path: ${{ env.TEMPLATE_PATH }}/template - name: Pack the template - uses: simatic-ax/actions/apax-pack@v3 + uses: simatic-ax/actions/apax-pack@v4 with: - key: ${{ secrets.APAX_SIGNKEY_V2 }} + key: secrets.APAX_SIGNKEY_V2 + key-version: "v2" path: ${{ env.TEMPLATE_PATH }} - name: Login to required registries - uses: simatic-ax/actions/apax-login@v3 + uses: simatic-ax/actions/apax-login@v4 with: apax-token: ${{ secrets.APAX_TOKEN }} registries: | https://npm.pkg.github.com/,${{ secrets.GITHUB_TOKEN }} - name: Publish apax package - uses: simatic-ax/actions/apax-publish@v3 + uses: simatic-ax/actions/apax-publish@v4 with: registries: | https://npm.pkg.github.com diff --git a/.github/workflows/package-development-workflow.yml b/.github/workflows/package-development-workflow.yml index fb6b298..bb3046b 100644 --- a/.github/workflows/package-development-workflow.yml +++ b/.github/workflows/package-development-workflow.yml @@ -25,7 +25,7 @@ jobs: name: Build and Test runs-on: ubuntu-24.04 container: - image: ghcr.io/simatic-ax/ci-images/apax-ci-image:3.5.0 + image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.2.0 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -36,22 +36,22 @@ jobs: ref: ${{ inputs.ref != '' && inputs.ref || github.ref }} - name: Login to required registries - uses: simatic-ax/actions/apax-login@v3 + uses: simatic-ax/actions/apax-login@v4 with: apax-token: ${{ secrets.APAX_TOKEN }} registries: | https://npm.pkg.github.com/,${{ secrets.GITHUB_TOKEN }} - name: Install dependencies - uses: simatic-ax/actions/apax-install@v3 + uses: simatic-ax/actions/apax-install@v4 with: immutable: true - name: Build source code - uses: simatic-ax/actions/apax-build@v3 + uses: simatic-ax/actions/apax-build@v4 - name: Test source code - uses: simatic-ax/actions/apax-test@v3 + uses: simatic-ax/actions/apax-test@v4 - name: Check links uses: gaurav-nelson/github-action-markdown-link-check@v1 diff --git a/.gitignore b/.gitignore index 0147e17..f776e0c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ obj MonitorData.json apax-lock.json *.bak +/.vs