diff --git a/.github/workflows/libraries/build-library.yml b/.github/workflows/libraries/build-library.yml new file mode 100644 index 0000000..999175e --- /dev/null +++ b/.github/workflows/libraries/build-library.yml @@ -0,0 +1,20 @@ +on: push + +jobs: + build-apax-lib: + uses: simatic-ax/actions/.github/workflows/apax-build.yml@stable + secrets: + APAX_TOKEN: ${{ secrets.APAX_TOKEN }} + SIMATIC_AX_TOKEN: ${{ secrets.DEPLOY_KEY }} + with: + ACTIONS_REF: stable + LOGIN_SIMATIC_AX: true + + test-apax-lib: + needs: build-apax-lib + uses: simatic-ax/actions/.github/workflows/apax-build-test.yml@stable + secrets: + APAX_TOKEN: ${{ secrets.APAX_TOKEN }} + SIMATIC_AX_TOKEN: ${{ secrets.DEPLOY_KEY }} + with: + LOGIN_SIMATIC_AX: true diff --git a/.github/workflows/libraries/lint-repo.yml b/.github/workflows/libraries/lint-repo.yml new file mode 100644 index 0000000..9863aa7 --- /dev/null +++ b/.github/workflows/libraries/lint-repo.yml @@ -0,0 +1,4 @@ +on: push +jobs: + lint-repo-and-markdown: + uses: simatic-ax/actions/.github/workflows/check-repository.yml@stable diff --git a/.github/workflows/libraries/release-library.yml b/.github/workflows/libraries/release-library.yml new file mode 100644 index 0000000..af6befe --- /dev/null +++ b/.github/workflows/libraries/release-library.yml @@ -0,0 +1,16 @@ +on: + push: + # Pattern matched against refs/tags + tags: + - '*' + +jobs: + release-apax-lib: + uses: simatic-ax/actions/.github/workflows/apax-publish.yml@stable + secrets: + APAX_TOKEN: ${{ secrets.APAX_TOKEN }} + DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} + APAX_SIGNKEY: ${{ secrets.APAX_SIGNKEY }} + + with: + VERSION: ${{ github.ref_name }}