Trigger extensions build before external distributions in case those fail
This commit is contained in:
parent
1213fe8237
commit
4cea91b9a1
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
@ -14,6 +14,14 @@ jobs:
|
||||||
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})"
|
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})"
|
||||||
id: tag_name
|
id: tag_name
|
||||||
|
|
||||||
|
- name: Trigger extensions build
|
||||||
|
uses: peter-evans/repository-dispatch@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
|
repository: xxxserxxx/gotop-builder
|
||||||
|
event-type: my-release
|
||||||
|
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
||||||
|
|
||||||
- name: Update Homebrew recipe
|
- name: Update Homebrew recipe
|
||||||
uses: peter-evans/repository-dispatch@v1
|
uses: peter-evans/repository-dispatch@v1
|
||||||
with:
|
with:
|
||||||
|
@ -36,11 +44,3 @@ jobs:
|
||||||
repository: xxxserxxx/gotop-linux
|
repository: xxxserxxx/gotop-linux
|
||||||
event-type: my-release
|
event-type: my-release
|
||||||
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
||||||
|
|
||||||
- name: Trigger extensions build
|
|
||||||
uses: peter-evans/repository-dispatch@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
|
||||||
repository: xxxserxxx/gotop-builder
|
|
||||||
event-type: my-release
|
|
||||||
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
5. git commit -a
|
5. git commit -a
|
||||||
6. git push
|
6. git push
|
||||||
7. Test install `gotop`, `gotop-bin`, and `gotop-git` with running & version check
|
7. Test install `gotop`, `gotop-bin`, and `gotop-git` with running & version check
|
||||||
|
|
||||||
11. Notify Nix
|
11. Notify Nix
|
||||||
12. ~~Notify Homebrew~~ Automated now.
|
12. ~~Notify Homebrew~~ Automated now.
|
||||||
|
|
||||||
|
@ -24,6 +25,15 @@ repository, so the final publish step is still currently manual.
|
||||||
|
|
||||||
Oh, what a tangled web.
|
Oh, what a tangled web.
|
||||||
|
|
||||||
|
```
|
||||||
|
for p in builder nvidia remote; do
|
||||||
|
curl -H "Accept: application/vnd.github.everest-preview+json" \
|
||||||
|
-H "Authorization: token ${TOKEN}" \
|
||||||
|
--request POST \
|
||||||
|
--data "{'event_type': 'my-release', 'client_payload': {'tag': '${TAG}'}}" \
|
||||||
|
https://api.github.com/repos/xxxserxxx/gotop-${p}/dispatches
|
||||||
|
done
|
||||||
|
```
|
||||||
|
|
||||||
## Nix
|
## Nix
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user