diff options
author | deadprogram <[email protected]> | 2023-02-18 11:31:52 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-02-18 19:41:11 +0100 |
commit | 87cfe6a538da438df5037fc1ef7c4a05870cebc2 (patch) | |
tree | 947c44943ffee5a094ab946293de90712fa557d3 | |
parent | c02cc339c564afd767dba0cf2b8a05e959e6ef5b (diff) | |
download | tinygo-87cfe6a538da438df5037fc1ef7c4a05870cebc2.tar.gz tinygo-87cfe6a538da438df5037fc1ef7c4a05870cebc2.zip |
build/docker: trigger all builds in tinygo ecosystem repos using GH actions
Signed-off-by: deadprogram <[email protected]>
-rw-r--r-- | .github/workflows/docker.yml | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fe6a82adb..2e39dea33 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -69,21 +69,31 @@ jobs: -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/tinygo-org/bluetooth/actions/workflows/linux.yml/dispatches \ -d '{"ref": "dev"}' - - name: Trigger TinyFS repo build on CircleCI + - name: Trigger TinyFS repo build on Github Actions run: | - curl --location --request POST 'https://circleci.com/api/v2/project/github/tinygo-org/tinyfs/pipeline' \ - --header 'Content-Type: application/json' \ - -d '{"branch": "dev"}' \ - -u "${{ secrets.CIRCLECI_API_TOKEN }}" - - name: Trigger TinyFont repo build on CircleCI + curl -X POST \ + -H "Authorization: Bearer ${{secrets.GHA_ACCESS_TOKEN}}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/tinygo-org/tinyfs/actions/workflows/build.yml/dispatches \ + -d '{"ref": "dev"}' + - name: Trigger TinyFont repo build on Github Actions run: | - curl --location --request POST 'https://circleci.com/api/v2/project/github/tinygo-org/tinyfont/pipeline' \ - --header 'Content-Type: application/json' \ - -d '{"branch": "dev"}' \ - -u "${{ secrets.CIRCLECI_API_TOKEN }}" - - name: Trigger TinyDraw repo build on CircleCI + curl -X POST \ + -H "Authorization: Bearer ${{secrets.GHA_ACCESS_TOKEN}}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/tinygo-org/tinyfont/actions/workflows/build.yml/dispatches \ + -d '{"ref": "dev"}' + - name: Trigger TinyDraw repo build on Github Actions run: | - curl --location --request POST 'https://circleci.com/api/v2/project/github/tinygo-org/tinydraw/pipeline' \ - --header 'Content-Type: application/json' \ - -d '{"branch": "dev"}' \ - -u "${{ secrets.CIRCLECI_API_TOKEN }}" + curl -X POST \ + -H "Authorization: Bearer ${{secrets.GHA_ACCESS_TOKEN}}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/tinygo-org/tinydraw/actions/workflows/build.yml/dispatches \ + -d '{"ref": "dev"}' + - name: Trigger TinyTerm repo build on Github Actions + run: | + curl -X POST \ + -H "Authorization: Bearer ${{secrets.GHA_ACCESS_TOKEN}}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/tinygo-org/tinyterm/actions/workflows/build.yml/dispatches \ + -d '{"ref": "dev"}' |