The "Nullplatform Parameter" GitHub Action allows you to query and retrieve build parameters for a nullplatform application. It simplifies the process of fetching and using these parameters within your GitHub Actions workflows.
- Description: The application ID to query build parameters.
- Required: Yes
- Description: The parameter name to query. (Optional)
- Required: No
This GitHub Action dynamically generates outputs based on the retrieved build parameters. Each build parameter will be available as an output and as a environment variable.
Here's a common use case for this GitHub Action:
name: Query Nullplatform Build Parameters
on:
push:
branches:
- main
jobs:
query_parameters:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Query Nullplatform Build Parameters
id: query-params
uses: nullplatform/github-action-parameter@v1
with:
application-id: your-app-id
- name: Display Application Parameters
run: |
echo "Retrieved Application Parameters:"
echo "Parameter Name: your-parameter-name"
echo "Parameter Value: ${{ steps.query-params.outputs.your-parameter-name }}"
In this example, the GitHub Action queries build parameters for a nullplatform application. You can customize it according to your workflow's requirements by specifying the application-id
and optionally the name of the parameter you want to query.
This GitHub Action is licensed under the MIT License.