-
-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (58 loc) · 1.43 KB
/
Copy pathtest.yaml
File metadata and controls
66 lines (58 loc) · 1.43 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: "Test"
on:
workflow_dispatch:
#push:
# branches: ["**"]
# paths:
# - ".github/workflows/test.yaml"
# - "dist/**"
# - "src/**"
# - "package*.json"
# - "requirements*.txt"
# - "action.yml"
# - "Dockerfile"
# - "pyproject.toml"
# - "uv.lock"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: "Test"
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
steps:
- name: "Checkout"
uses: actions/checkout@v6
- name: "Debug event.json"
if: ${{ !github.event.act }}
continue-on-error: true
run: cat "${GITHUB_EVENT_PATH}"
- name: "Debug CTX github"
if: ${{ !github.event.act }}
continue-on-error: true
env:
GITHUB_CTX: ${{ toJSON(github) }}
run: echo "$GITHUB_CTX"
- name: "Debug Environment"
if: ${{ !github.event.act }}
continue-on-error: true
run: env
- name: "Test Local Action"
id: test
uses: ./
with:
deploy: false
upload: false
- name: "Validate"
if: ${{ !github.event.act }}
run: |
tree .
#- name: "Validate Outputs"
# uses: cssnr/validate-outputs-action@master
# with:
# outputs: ${{ toJSON(steps.test.outputs) }}
# data: |
# download_url: