-
Notifications
You must be signed in to change notification settings - Fork 30
44 lines (41 loc) · 1.28 KB
/
release.yaml
File metadata and controls
44 lines (41 loc) · 1.28 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
name: Release
on:
push:
branches:
- master
- "*"
tags:
# Additional packages must be added both here AND in the job list below:
- "v*"
- "riverproui/v*"
jobs:
release_riverui:
uses: ./.github/workflows/package-and-release.yaml
if: startsWith(github.ref, 'refs/tags/v')
with:
after-version: v0.4.0
module-base: riverqueue.com/riverui
module-dir: .
storage-bucket: ${{ vars.RELEASE_STORAGE_BUCKET }}
version-tag: ${{ github.ref_name}}
permissions:
contents: read
secrets:
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-endpoint-url: ${{ secrets.R2_ENDPOINT_URL }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
release_riverproui:
uses: ./.github/workflows/package-and-release.yaml
if: startsWith(github.ref, 'refs/tags/riverproui/v')
with:
after-version: v0.12.1
module-base: riverqueue.com/riverui
module-dir: ./riverproui
storage-bucket: ${{ vars.RELEASE_STORAGE_BUCKET }}
version-tag: ${{ github.ref_name}}
permissions:
contents: read
secrets:
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-endpoint-url: ${{ secrets.R2_ENDPOINT_URL }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}