-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (53 loc) · 1.76 KB
/
release.yml
File metadata and controls
56 lines (53 loc) · 1.76 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
47
48
49
50
51
52
53
54
55
56
name: Release-plz
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- master
paths:
- "openapi-trustfall-adapter/**"
jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
openapi:
- "openapi-trustfall-adapter/**"
filesystem:
- "filesystem-trustfall-adapter/**"
terraform:
- "terraform-trustfall-adapter/**"
- name: Run OpenAPI release-plz
if: steps.filter.outputs.openapi == 'true'
uses: MarcoIeni/release-plz-action@v0.5
with:
manifest_path: openapi-trustfall-adapter/Cargo.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run Filesystem release-plz
if: steps.filter.outputs.filesystem == 'true'
uses: MarcoIeni/release-plz-action@v0.5
with:
manifest_path: filesystem-trustfall-adapter/Cargo.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run Terraform release-plz
if: steps.filter.outputs.terraform == 'true'
uses: MarcoIeni/release-plz-action@v0.5
with:
manifest_path: terraform-trustfall-adapter/Cargo.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}