Reusable GitHub workflows for building and releasing webapp cards.
Cards should reference these workflows via tags so they can pin to a known-good version or track the latest stable release.
jobs:
release:
uses: InTouchSO/cards-ci/.github/workflows/card-release.yml@stable
with:
node-version: '20'
secrets:
WEBAPP_DEPLOY_TOKEN: ${{ secrets.WEBAPP_DEPLOY_TOKEN }}- Use a concrete tag such as
@v1.2.3to pin to an exact release. - Use the movable
@stabletag to always consume the most recent version.
- Merge your workflow changes to
release. - Open Actions → Publish Workflow Version and run the workflow:
version: SemVer string (v1.2.3or1.2.3).mark-stable: Set totrueonly if this version should become the newstable.
- The workflow creates (and pushes) the annotated
vX.Y.Ztag.
Whenmark-stableistrue, it also force-updates thestabletag to the same commit.
Consumers can immediately reference the new vX.Y.Z tag or opt into the refreshed stable tag.