Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .antora/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: asamosi
version:
# Update version number accordingly. This is the version for the main branch
main: 'current'
master: 'current'
v(*)-antora: V$1
v(*): V$1
V(*): V$1
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/antora-generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

name: Antora build trigger

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
trigger_antora:
name: Trigger antora generator

runs-on: Ubuntu-latest

env:
MUP_KEY: ${{ secrets.MACHINE_USER_PAT }}

steps:
- name: Trigger generator
if: ${{ env.MUP_KEY != '' }}
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.MACHINE_USER_PAT }}
event-type: antora-build-trigger
repository: OpenSimulationInterface/osi-antora-generator
client-payload: '{"src": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "head_ref": "${{ github.head_ref }}"}'

6 changes: 3 additions & 3 deletions .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-osmp-examples:
name: Build OSMP examples

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

steps:
- name: Checkout OSI
Expand All @@ -27,10 +27,10 @@ jobs:
# cache dependencies
- name: Cache Dependencies
id: cache-depends
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: protobuf-3.15.8
key: ${{ runner.os }}-v1-depends
key: ${{ runner.os }}-v2-depends

# Download and build protobuf
- name: Download ProtoBuf
Expand Down