-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.38 KB
/
pull_request.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
on:
pull_request:
jobs:
smoke_test:
runs-on: ubuntu-latest
name: Run action
steps:
- uses: actions/checkout@v4
- id: agp-version-finder
uses: ./
with:
debug: true
- uses: peter-evans/find-comment@v3
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: smoke-test
- uses: peter-evans/create-or-update-comment@v4
with:
body: |
### smoke-test
|channel|version|
|---|---|
|_stable_|`${{ steps.agp-version-finder.outputs.latest-stable }}`|
|_rc_|`${{ steps.agp-version-finder.outputs.latest-rc }}`|
|_beta_|`${{ steps.agp-version-finder.outputs.latest-beta }}`|
|_alpha_|`${{ steps.agp-version-finder.outputs.latest-alpha }}`|
edit-mode: replace
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}
os-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
name: Run action
steps:
- uses: actions/checkout@v4
- id: agp-version-finder
uses: ./
- run: echo $"${{join(steps.agp-version-finder.outputs.*, '\n')}}"