Releases: meshcloud/actions-register-source
v2.0.2
What's Changed
- chore: upgrade axios to v1.13.2 by @JohannesRudolph in #4
Full Changelog: v2...v2.0.2
v2.0.1
What's Changed
- Remove type key from action.yml inputs by @JohannesRudolph in #3
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Breaking Changes
-
Node.js Runtime Update: Migrated from Node.js 20 to Node.js 24
- Ensure your GitHub Actions runners support Node.js 24
- Update your workflow files to reference
@v2instead of previous versions
-
Authentication Separation: Authentication is now handled by a separate action (
actions-meshstack-auth)- Required: You must now call
meshcloud/actions-meshstack-auth@v2before using this action - Removed
client_id,key_secret, andbase_urlinputs from this action - This action now reads authentication tokens from a well-known file location
- Required: You must now call
-
Input Changes:
- Added support for the new
buildingBlockRunUrldispatch input. This input method allows you to pass more than 64kB of inputs to a building block run. The action automatically extracts eitherbuildingBlockRunUrlorbuildingBlockRunfrom the dispatch event payload depending on what is available
- Added support for the new
Migration Guide
To migrate from v0.x to v2:
-
Add authentication step before using this action:
- name: Setup meshStack auth id: setup-meshstack-auth uses: meshcloud/actions-meshstack-auth@v2 with: base_url: ${{ vars.MESHSTACK_BASE_URL }} client_id: ${{ vars.BUILDINGBLOCK_API_CLIENT_ID }} key_secret: ${{ secrets.BUILDINGBLOCK_API_KEY_SECRET }}
-
Update action reference and remove authentication inputs:
# OLD (v1) - uses: meshcloud/actions-register-source@v1 with: client_id: ${{ vars.BUILDINGBLOCK_API_CLIENT_ID }} key_secret: ${{ secrets.BUILDINGBLOCK_API_KEY_SECRET }} steps: | [...] # NEW (v2) - uses: meshcloud/actions-register-source@v2 with: steps: | [...]
-
Recommended: Ensure workflow_dispatch event uses new buildingBlockRunUrl parameter
-
update your building block definition in meshStack to select this method
-
ensure your API Key has the permission
List building block runs using building block definitions or runners owned by this workspace -
replace
workflow_dispatch.inputs.buildingBlockRunwithworkflow_dispatch.inputs.buildingBlockRunUrlin your workflowon: workflow_dispatch: inputs: buildingBlockRunUrl: description: "URL to fetch the Building Block Run Object from" required: true
Full Changelog: v0.1.0...v2.0.0
v0.1.0
Full Changelog: v0.0.16...v0.1.0
v0.0.16
Full Changelog: v0.0.15...v0.0.16
v0.0.15
Full Changelog: v0.0.14...v0.0.15
v0.0.14
Full Changelog: v0.0.13...v0.0.14
v0.0.13
Full Changelog: v0.0.12...v0.0.13
v0.0.12
Full Changelog: v.0.0.11...v0.0.12
v0.0.11
Full Changelog: 0.0.1...v0.0.11