fix(ci):Update checkout ref to use release tag name (#588)
Issue #, if available:
Description of changes:
If
target_commitishis not specified in thecreate_release APIcall, then it defaults to the branch used to create the release. The Github release UI does not seem to provide the commit SHA for the tag as thetarget_commitish. See here where we only checkout the branch.Checking out the commit referenced by the
tag_nameof the release instead. This preserves our ability to release in different branches but ensures that the release is the code commit referenced by the tag and not the newest commit in the branch.Just tested in my personal dummy package repo: * https://github.com/SilanHe/test-publish-npm-silanhe/actions/runs/26654766314/job/78562008979#step:2:67 * https://www.npmjs.com/package/test-publish-npm-silanhe/v/1.4.2?activeTab=versions
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
AWS Durable Execution SDKs for JavaScript
Build resilient, long-running AWS Lambda functions with automatic state persistence, retry logic, and workflow orchestration. Lambda durable functions can run for up to one year while maintaining reliable progress through checkpoints and automatic failure recovery.
✨ Key Features
📦 Packages
This monorepo contains the following NPM packages:
🚀 Quick Start
Installation
Your First Durable Function
Invoking Your Durable Function
Durable functions require a qualified identifier for invocation. You must specify a version or alias. Unqualified ARNs or function names without a suffix are not supported to ensure deterministic replay behavior.
The following example uses asynchronous invocation (
--invocation-type Event), which queues the event and returns immediately, enabling executions that can run for up to one year:📚 Documentation
🧪 Testing
The testing SDK enables local development and unit testing without deploying to AWS, as well as cloud testing against deployed Lambda functions:
See the Testing SDK documentation for more details.
💬 Feedback & Support
🤝 Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
🔒 Security
See CONTRIBUTING for information about reporting security issues.
📄 License
This project is licensed under the Apache-2.0 License. See LICENSE for details.