Skip to content

chore: sync atlas openclaw plugin release source #242

chore: sync atlas openclaw plugin release source

chore: sync atlas openclaw plugin release source #242

Workflow file for this run

name: Publish
on:
push:
branches:
- develop
- staging
- main
tags:
- 'release/**'
permissions:
contents: write
id-token: write
concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: false
jobs:
create_release_tag:
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
steps:
- name: Generate a5c GitHub App token
id: a5c-token
continue-on-error: true
uses: a5c-ai/generate-token-action@main
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.a5c-token.outputs.a5c_token || github.token }}
- uses: actions/setup-node@v4
with:
node-version: 22
- run: node scripts/create-release-tag.mjs
publish_from_tag:
if: ${{ startsWith(github.ref, 'refs/tags/release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
always-auth: true
- run: node scripts/publish-from-tag.mjs
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}