From 10e03063b312a7c2ca12494bba94f594a19c40a6 Mon Sep 17 00:00:00 2001 From: Bernd Pfrommer Date: Tue, 15 Nov 2022 11:46:06 -0500 Subject: [PATCH] add workflow to trigger ubuntu packaging --- .github/workflows/trigger-packaging.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/trigger-packaging.yml diff --git a/.github/workflows/trigger-packaging.yml b/.github/workflows/trigger-packaging.yml new file mode 100644 index 0000000000..1f24db5032 --- /dev/null +++ b/.github/workflows/trigger-packaging.yml @@ -0,0 +1,21 @@ +# This triggers building of packages +name: Trigger Package Builds +on: + push: + branches: + - develop +jobs: + trigger-package-build: + runs-on: ubuntu-latest + steps: + - name: Trigger Package Rebuild + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.PACKAGING_REPO_ACCESS_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'borglab-launchpad', + repo: 'gtsam-packaging', + workflow_id: 'main.yaml', + ref: 'master' + })