-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (34 loc) · 1.06 KB
/
dev-build.yml
File metadata and controls
41 lines (34 loc) · 1.06 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
# dev: CI build and publish a rolling dev-build prerelease.
name: Dev build
on:
push:
branches: [dev]
permissions:
contents: write
concurrency:
group: ritsulib-dev-${{ github.repository }}
cancel-in-progress: true
jobs:
dev-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Checkout API signatures (shallow)
uses: actions/checkout@v6
with:
repository: BAKAOLC/STS2-API-Signatures
path: sts2-api-signatures
fetch-depth: 1
token: ${{ secrets.STS2_SIGNATURES_TOKEN || github.token }}
- uses: ./.github/actions/ritsulib-build
with:
signatures-root: ${{ github.workspace }}/sts2-api-signatures
use-dev-version: "true"
- name: Publish dev prerelease (scripted)
env:
GH_TOKEN: ${{ github.token }}
shell: bash
working-directory: ${{ github.workspace }}
run: uv run python scripts/ci/gh_publish.py --repo-root "${{ github.workspace }}" dev-prerelease