name: Semantic Release description: Run multi-semantic-release for per-package versioning inputs: gitea-token: description: "Forgejo API token with push + API access" required: true gitea-url: description: "Forgejo instance URL" required: true npm-token: description: "npm registry auth token" required: true runs: using: composite steps: - name: Setup Bun shell: bash run: curl -fsSL https://bun.sh/install | bash && echo "$HOME/.bun/bin" >> "$GITHUB_PATH" - name: Configure git auth shell: bash env: GITEA_TOKEN: ${{ inputs.gitea-token }} GITEA_URL: ${{ inputs.gitea-url }} run: git remote set-url origin "https://oauth2:${GITEA_TOKEN}@${GITEA_URL#https://}/${GITHUB_REPOSITORY}.git" - name: Install dependencies shell: bash run: bun install --frozen-lockfile - name: Run multi-semantic-release shell: bash env: GITHUB_TOKEN: ${{ inputs.gitea-token }} GITEA_TOKEN: ${{ inputs.gitea-token }} GITEA_URL: ${{ inputs.gitea-url }} NPM_TOKEN: ${{ inputs.npm-token }} run: bunx multi-semantic-release