Skip to content

Commit 225d614

Browse files
Build/master branch naming (#672)
Change version naming for master branch, update Ubuntu image, and add Antora generator trigger. Signed-off-by: Philip Windecker <philip.windecker@avenyr.de> Signed-off-by: Philip Windecker <95633467+philipwindecker@users.noreply.github.com> Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 3578540 commit 225d614

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

.antora/antora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: asamosi
33
version:
44
# Update version number accordingly. This is the version for the main branch
55
main: 'current'
6+
master: 'current'
67
v(*)-antora: V$1
78
v(*): V$1
89
V(*): V$1
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
name: Antora build trigger
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
trigger_antora:
12+
name: Trigger antora generator
13+
14+
runs-on: Ubuntu-latest
15+
16+
steps:
17+
- name: Trigger generator
18+
uses: peter-evans/repository-dispatch@v2
19+
with:
20+
token: ${{ secrets.MACHINE_USER_PAT }}
21+
event-type: antora-build-trigger
22+
repository: OpenSimulationInterface/osi-antora-generator
23+
client-payload: '{"src": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "head_ref": "${{ github.head_ref }}"}'
24+

.github/workflows/protobuf.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build-proto2-linux64:
1010
name: Build Proto2 Linux 64
1111

12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-22.04
1313

1414
steps:
1515
- name: Checkout OSI
@@ -30,10 +30,10 @@ jobs:
3030

3131
- name: Cache Dependencies
3232
id: cache-depends
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
path: protobuf-3.20.1
36-
key: ${{ runner.os }}-v1-depends
36+
key: ${{ runner.os }}-v2-depends
3737

3838
- name: Download ProtoBuf
3939
if: steps.cache-depends.outputs.cache-hit != 'true'
@@ -100,7 +100,7 @@ jobs:
100100
build-proto3-linux64:
101101
name: Build Proto3 Linux 64
102102

103-
runs-on: ubuntu-18.04
103+
runs-on: ubuntu-22.04
104104

105105
steps:
106106
- name: Checkout OSI
@@ -121,7 +121,7 @@ jobs:
121121
uses: actions/cache@v2
122122
with:
123123
path: protobuf-3.20.1
124-
key: ${{ runner.os }}-v1-depends
124+
key: ${{ runner.os }}-v2-depends
125125

126126
- name: Download ProtoBuf
127127
if: steps.cache-depends.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)