-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (43 loc) · 1.98 KB
/
Copy pathrelease.yml
File metadata and controls
46 lines (43 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# SPDX-FileCopyrightText: Copyright (C) 2026 unlucio and the Bespok3d contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: build-and-release
# Build, test, pack, release, index, and register every plugin in this repo through the one reusable
# Bespok3d build Action (b3-builder). This repo no longer carries its own build/pack/atom/list scripts in
# CI: the Action wraps the whole pipeline, so the only thing here is who this publisher is (org identity
# via the Action inputs) and the token to register the sub-list.
on:
push:
branches: [main]
paths:
- '*/manifest.json'
- '*/files/**'
- '*/doc/**'
- '*/src/**'
- '*/toolchain/**'
- '*/tests/**'
- .github/workflows/release.yml
workflow_dispatch:
jobs:
build-and-release:
runs-on: ubuntu-latest
permissions:
contents: write # create releases + commit index.json on this repo
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # full history so the index.json push can rebase on a concurrent update
- uses: Bespok3d/b3-builder@5abdeb52902b6096c59134afcf52a479e6588e71 # main @ 2026-08-06
with:
unit: repo
# Per-repo Actions secret today (GitHub Free cannot org-secret private repos); becomes ONE org
# secret every repo inherits when the repos go public. See b3-builder README (secrets model).
signing-key: ${{ secrets.REGISTRY_SIGNING_KEY }}
bake: 'true'
atom-repo: ${{ github.repository }}
list-name: 'Reference Python Plugins'
list-publisher: '679939555819fb5f6423dc68c4388e76bfa9b4e0'
list-ref-name: 'Reference Python Plugins'
main-index-repo: Bespok3d/main-index
# Per-repo Actions secret today (GitHub Free cannot org-secret private repos); becomes ONE org
# secret every repo inherits when the repos go public. See b3-builder README (secrets model).
main-index-token: ${{ secrets.MAIN_INDEX_TOKEN }}