From f5902debdb85e874da8e45c68365737fda4892e6 Mon Sep 17 00:00:00 2001 From: Robert Panzer Date: Mon, 18 Nov 2019 16:07:31 +0100 Subject: [PATCH] Add upstream build trigger --- .github/workflows/continuous-integration.yaml | 12 ++++++------ .github/workflows/upstream-build.yaml | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/upstream-build.yaml diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 7984e154d..738ee4d12 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -1,13 +1,13 @@ name: Build Master on: - push: - branches: - - master - pull_request: - branches: - - master schedule: - cron: '0 0 * * *' +# push: +# branches: +# - master +# pull_request: +# branches: +# - master jobs: build: diff --git a/.github/workflows/upstream-build.yaml b/.github/workflows/upstream-build.yaml new file mode 100644 index 000000000..91ecdf6de --- /dev/null +++ b/.github/workflows/upstream-build.yaml @@ -0,0 +1,19 @@ +name: Build Upstream +on: repository_dispatch + +jobs: + build-upstream: + name: ${{ github.event.client_payload.message }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + ref: ${{ github.event.client_payload.branch }}  + - uses: actions/setup-java@v1 + with: + java-version: '1.8' + - name: Build + run: | + unset GEM_PATH GEM_HOME JRUBY_OPTS + ./test-asciidoctor-upstream.sh