spiegel-keyman/.github/workflows/deb-packaging.README.md
Eberhard Beilharz 2b6cf97af8
chore(linux): rename "Debian packaging" to "Ubuntu packaging"
So far the GHA was called "Ubuntu packaging" but the status reported as
"Debian packaging" which was confusing. This change now uses "Ubuntu
packaging" in both places.

We still keep the filename `deb-packaging.yml` because we're packaging
the .deb format, and because it's shorter.

Fixes: #13497
2025-03-17 17:52:18 +01:00

1.5 KiB

Ubuntu Packaging GitHub Action

You can manually trigger a deb-packaging action on GitHub, e.g. to test changes:

  • push the changes to your fork of keymanapp/keyman: git push myfork HEAD:master

  • make sure you have GHA enabled in the settings of your fork and created an access token on GitHub

  • trigger a build with:

     curl --write-out '\n' --request POST \
      --header "Accept: application/vnd.github+json" \
      --header "Authorization: token $GITHUB_TOKEN" \
      --data "{ \"event_type\": \"deb-pr-packaging: master\", \
      \"client_payload\": { \
        \"buildSha\": \"$(git rev-parse refs/heads/master)\", \
        \"branch\": \"master\", \
        \"baseBranch\": \"master\",
        \"baseRef\": \"$(git rev-parse refs/heads/master^)\",
        \"user\": \"${USER}\",
        \"isTestBuild\": \"true\"}" \
      https://api.github.com/repos/<yourgithubname>/keyman/dispatches
    

    To trigger a build for PR #1234 in a branch pr-1234 this would look similar to this:

     curl --write-out '\n' --request POST \
      --header "Accept: application/vnd.github+json" \
      --header "Authorization: token $GITHUB_TOKEN" \
      --data "{ \"event_type\": \"deb-pr-packaging: PR #1234\", \
      \"client_payload\": { \
        \"buildSha\": \"$(git rev-parse refs/heads/pr-1234)\", \
        \"branch\": \"pr-1234\", \
        \"baseBranch\": \"master\",
        \"baseRef\": \"$(git rev-parse refs/heads/master)\",
        \"user\": \"${USER}\",
        \"isTestBuild\": \"true\"}" \
      https://api.github.com/repos/<yourgithubname>/keyman/dispatches