|
1 | | -name: Action-Test |
2 | | - |
3 | | -run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" |
4 | | - |
5 | | -on: |
6 | | - workflow_dispatch: |
7 | | - pull_request: |
8 | | - schedule: |
9 | | - - cron: '0 0 * * *' |
10 | | - |
11 | | -env: |
12 | | - GH_TOKEN: ${{ github.token }} |
13 | | - |
14 | | -concurrency: |
15 | | - group: ${{ github.workflow }}-${{ github.ref }} |
16 | | - cancel-in-progress: true |
17 | | - |
18 | | -permissions: {} |
19 | | - |
20 | | -jobs: |
21 | | - ActionTestDefault: |
22 | | - name: Action-Test - [Default] |
23 | | - runs-on: ubuntu-latest |
24 | | - steps: |
25 | | - - name: Checkout repo |
26 | | - uses: actions/checkout@v4 |
27 | | - |
28 | | - - name: Initialize environment |
29 | | - uses: PSModule/Initialize-PSModule@main |
30 | | - |
31 | | - - name: Upload module artifact |
32 | | - uses: actions/upload-artifact@v4 |
33 | | - with: |
34 | | - name: module |
35 | | - path: tests/outputs/modules |
36 | | - if-no-files-found: error |
37 | | - retention-days: 1 |
38 | | - |
39 | | - - name: Action-Test |
40 | | - uses: ./ |
41 | | - with: |
42 | | - Name: PSModuleTest |
43 | | - Path: tests/src |
44 | | - ModulesOutputPath: tests/outputs/modules |
45 | | - DocsOutputPath: tests/outputs/docs |
| 1 | +name: Action-Test |
| 2 | + |
| 3 | +run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" |
| 4 | + |
| 5 | +on: |
| 6 | + workflow_dispatch: |
| 7 | + pull_request: |
| 8 | + schedule: |
| 9 | + - cron: '0 0 * * *' |
| 10 | + |
| 11 | +env: |
| 12 | + GH_TOKEN: ${{ github.token }} |
| 13 | + |
| 14 | +concurrency: |
| 15 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 16 | + cancel-in-progress: true |
| 17 | + |
| 18 | +permissions: {} |
| 19 | + |
| 20 | +jobs: |
| 21 | + ActionTestDefault: |
| 22 | + name: Action-Test - [Default] |
| 23 | + runs-on: ubuntu-latest |
| 24 | + steps: |
| 25 | + - name: Checkout repo |
| 26 | + uses: actions/checkout@v4 |
| 27 | + |
| 28 | + - name: Initialize environment |
| 29 | + uses: PSModule/Initialize-PSModule@main |
| 30 | + |
| 31 | + - name: Upload module artifact |
| 32 | + uses: actions/upload-artifact@v4 |
| 33 | + with: |
| 34 | + name: module |
| 35 | + path: tests/outputs/modules |
| 36 | + if-no-files-found: error |
| 37 | + retention-days: 1 |
| 38 | + |
| 39 | + - name: Action-Test |
| 40 | + uses: ./ |
| 41 | + with: |
| 42 | + Name: PSModuleTest |
| 43 | + Path: tests/src |
| 44 | + ModulesOutputPath: tests/outputs/modules |
| 45 | + DocsOutputPath: tests/outputs/docs |
0 commit comments