diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 23790e808da..6d5687ec882 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -378,49 +378,4 @@ jobs: gpg --armor --detach-sign cedarling_python-"${TAG}"-cp311-cp311-manylinux_2_34_x86_64.whl || echo "Failed to sign" gpg --armor --detach-sign cedarling_python-"${TAG}"-cp310-cp310-manylinux_2_34_x86_64.whl || echo "Failed to sign" echo "${{ secrets.MOAUTO_WORKFLOW_TOKEN }}" | gh auth login --with-token - gh release upload "${VERSION}" *.whl *.sha256sum *.asc - build_cedarling_python_musl: - if: github.repository == 'JanssenProject/jans' - runs-on: ubuntu-latest - steps: - - name: Harden Runner - uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1 - with: - egress-policy: audit - - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Import GPG key - id: import_gpg - continue-on-error: true - uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 - with: - gpg_private_key: ${{ secrets.MOAUTO_GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.MOAUTO_GPG_PRIVATE_KEY_PASSPHRASE }} - git_user_signingkey: true - git_commit_gpgsign: true - - - uses: actions/setup-python@v5 - - uses: PyO3/maturin-action@v1 - with: - working-directory: ${{ github.workspace }}/jans-cedarling/bindings/cedarling_python - manylinux: musllinux_1_2 - command: build - args: --release -i python3.10 python3.11 - - - name: Generate sha256sum and sign - id: sign-cedarling - run: | - TAG=$(echo ${{ github.event.ref }} | cut -d '/' -f 3 | sed 's/^v//') - VERSION="$(echo ${{ github.event.ref }} | cut -d '/' -f 3)" - if [ "${TAG}" == "nightly" ]; then - VERSION=nightly - TAG="0.0.0" - fi - cd ${{ github.workspace }}/jans-cedarling/target/wheels - sha256sum cedarling_python-"${TAG}"-cp311-cp311-musllinux_1_2_x86_64.whl > cedarling_python-"${TAG}"-cp311-cp311-musllinux_1_2_x86_64.whl.sha256sum - sha256sum cedarling_python-"${TAG}"-cp310-cp310-musllinux_1_2_x86_64.whl > cedarling_python-"${TAG}"-cp310-cp310-musllinux_1_2_x86_64.whl.sha256sum - gpg --armor --detach-sign cedarling_python-"${TAG}"-cp311-cp311-musllinux_1_2_x86_64.whl || echo "Failed to sign" - gpg --armor --detach-sign cedarling_python-"${TAG}"-cp310-cp310-musllinux_1_2_x86_64.whl || echo "Failed to sign" - echo "${{ secrets.MOAUTO_WORKFLOW_TOKEN }}" | gh auth login --with-token - gh release upload "${VERSION}" *.whl *.sha256sum *.asc \ No newline at end of file + gh release upload "${VERSION}" *.whl *.sha256sum *.asc \ No newline at end of file