-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.txt
49 lines (39 loc) · 1.45 KB
/
info.txt
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
# Ref.: https://azure.github.io/AppService/2019/08/10/Github-actions-for-webapps.html#configure-the-repository
# przykład z bloga został przetestowany i częściowo działa, tzn. przeszedł build i deploy,
# ale projekt generalnie był trefny (nie-doklikany poprawnie).
###
# Github Actions - przydane info
##
-) Specifications for GitHub-hosted runners
https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners
-) wyświetlenie różnych przydatnych zmiennych
# Ref.: https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions
on: push
jobs:
one:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"