mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Add cloud build instructions to Pull Request (#12817)
This commit is contained in:
parent
7a39c8037f
commit
b9f6eacf70
2 changed files with 11 additions and 2 deletions
12
.github/workflows/artifact-links.yml
vendored
12
.github/workflows/artifact-links.yml
vendored
|
@ -9,12 +9,22 @@ jobs:
|
||||||
name: Add artifact links to PR and issues
|
name: Add artifact links to PR and issues
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get information about the original PR
|
||||||
|
uses: potiuk/get-workflow-origin@v1_5
|
||||||
|
id: get-info
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
||||||
- name: Add artifact links to PR and issues
|
- name: Add artifact links to PR and issues
|
||||||
uses: tonyhallett/artifacts-url-comments@v1.1.0
|
uses: tonyhallett/artifacts-url-comments@v1.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
prefix: "**Do you want to test this code? Here you have an automated build:**"
|
prefix: "**Do you want to test this code? Here you have an automated build:**"
|
||||||
suffix: "_**WARNING:** It may be unstable. Use only for testing! See: https://www.youtube.com/watch?v=I1uN9CN30gw for instructions for unified targets!_"
|
suffix: |
|
||||||
|
- See: https://www.youtube.com/watch?v=I1uN9CN30gw for instructions about installing this unified targets!
|
||||||
|
- An easier way to test this, using the Configurator cloud build, is simply put `#${{ steps.get-info.outputs.pullRequestNumber }}` (this pull request number) in the `Select commit` field of the Configurator firmware flasher tab (you need to `Enable expert mode`, `Show release candidates` and `Development`).
|
||||||
|
|
||||||
|
_**WARNING:** It may be unstable. Use only for testing!_
|
||||||
format: name
|
format: name
|
||||||
addTo: pull
|
addTo: pull
|
||||||
|
|
1
.github/workflows/hide-artifact-links.yml
vendored
1
.github/workflows/hide-artifact-links.yml
vendored
|
@ -14,4 +14,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
starts-with: "**Do you want to test this code? Here you have an automated build:**"
|
starts-with: "**Do you want to test this code? Here you have an automated build:**"
|
||||||
ends-with: "_**WARNING:** It may be unstable. Use only for testing! See: https://www.youtube.com/watch?v=I1uN9CN30gw for instructions for unified targets!_"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue